Annotation of embedaddon/libxml2/test/schemas/any7_0.xml, revision 1.1.1.1

1.1       misho       1: <?xml version="1.0"?>
                      2: <!-- 
                      3: No error reported.
                      4: 
                      5: Seems like <moo> is accepted, but should not, since "##other" rules out
                      6: elements in no namespace.
                      7: 
                      8: Xerces reports:
                      9: any-err-2.xml:18,8: (Error) cvc-complex-type.2.4.a: Invalid content starting 
                     10: with element 'moo'. 
                     11: One of '{"urn:test:foo":bar, WC[##other:"urn:test:foo"]}' is expected.
                     12: 
                     13: -->
                     14: <foo:foo xmlns:foo="urn:test:foo" xmlns:moo="urn:test:moo"
                     15:        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     16:        xsi:schemaLocation="urn:test:foo any-2_1.xsd">
                     17:        <foo:bar/>
                     18:        <moo/>
                     19: </foo:foo>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>