summaryrefslogtreecommitdiff
path: root/test/VC/UniqueElementTypeDeclaration2
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
committerMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
commitd09ab089457ae3c20cc98f9afa03379c6ebf9598 (patch)
treef34702d634972abbc1b478a4529149b548a1cd4c /test/VC/UniqueElementTypeDeclaration2
downloadlibxml2-upstream/2.6.8.tar.gz
[svn-inject] Installing original source versionupstream/2.6.8
Diffstat (limited to 'test/VC/UniqueElementTypeDeclaration2')
-rw-r--r--test/VC/UniqueElementTypeDeclaration28
1 files changed, 8 insertions, 0 deletions
diff --git a/test/VC/UniqueElementTypeDeclaration2 b/test/VC/UniqueElementTypeDeclaration2
new file mode 100644
index 0000000..0805f8d
--- /dev/null
+++ b/test/VC/UniqueElementTypeDeclaration2
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE a [
+<!ELEMENT a (#PCDATA | b | c)*>
+<!ELEMENT b (#PCDATA)>
+<!ELEMENT c (#PCDATA)>
+<!ELEMENT a (#PCDATA | b | c)*>
+]>
+<a> violates [ VC: Unique Element Type Declaration ] </a>