summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/any7_1.xml
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:22:05 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:22:05 (GMT)
commit34be72f9ed749a5c013d3f7f47d810e8caf652cb (patch)
tree2f75b6050c088da53d774b3da3fb71e7fa49ec78 /libxml2/test/schemas/any7_1.xml
parent604eac5688c5d437ed6d585ee63e53fba6f558c0 (diff)
parent0f851b6f17365c29b56d6a17564d58a33120508a (diff)
downloadblt-34be72f9ed749a5c013d3f7f47d810e8caf652cb.zip
blt-34be72f9ed749a5c013d3f7f47d810e8caf652cb.tar.gz
blt-34be72f9ed749a5c013d3f7f47d810e8caf652cb.tar.bz2
Merge commit '0f851b6f17365c29b56d6a17564d58a33120508a' as 'libxml2'
Diffstat (limited to 'libxml2/test/schemas/any7_1.xml')
-rwxr-xr-xlibxml2/test/schemas/any7_1.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/libxml2/test/schemas/any7_1.xml b/libxml2/test/schemas/any7_1.xml
new file mode 100755
index 0000000..624c712
--- /dev/null
+++ b/libxml2/test/schemas/any7_1.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!--
+Error reported:
+
+any-2_1.xml:17: element bar: Schemas validity error :
+Element '{urn:test:foo}bar': This element is not expected.
+Expected is one of ( {##other:urn:test:foo}* ).
+
+Tiny glitch: the error report mechanism fails to recognize
+that there is only one element of choice. It should report:
+"Excepted is ( {##other:urn:test:foo}* ).".
+-->
+<foo:foo xmlns:foo="urn:test:foo" xmlns:moo="urn:test:moo"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:test:foo any-2_1.xsd">
+ <foo:bar/>
+ <foo:bar/>
+</foo:foo> \ No newline at end of file