/ libxml2 / test / schemas / any7_1.xml
any7_1.xml
 1  <?xml version="1.0"?>
 2  <!-- 
 3  Error reported:
 4  
 5  any-2_1.xml:17: element bar: Schemas validity error : 
 6  Element '{urn:test:foo}bar': This element is not expected. 
 7  Expected is one of ( {##other:urn:test:foo}* ).
 8  
 9  Tiny glitch: the error report mechanism fails to recognize
10  that there is only one element of choice. It should report:
11  "Excepted is ( {##other:urn:test:foo}* ).".
12  -->
13  <foo:foo xmlns:foo="urn:test:foo" xmlns:moo="urn:test:moo"
14  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15  	xsi:schemaLocation="urn:test:foo any-2_1.xsd">
16  	<foo:bar/>
17  	<foo:bar/>
18  </foo:foo>