aboutsummaryrefslogtreecommitdiffstats
path: root/test/VC/UniqueElementTypeDeclaration2
diff options
context:
space:
mode:
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 00000000..0805f8dc
--- /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>