any7_1.xml 572 B

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