VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/any7_2.xml@ 98103

Last change on this file since 98103 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

File size: 537 bytes
Line 
1<?xml version="1.0"?>
2<!--
3No error reported.
4
5Seems like <moo> is accepted, but should not, since "##other" rules out
6elements in no namespace.
7
8Xerces reports:
9any-err-2.xml:18,8: (Error) cvc-complex-type.2.4.a: Invalid content starting
10with element 'moo'.
11One 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 any7_2.xsd">
17 <foo:bar/>
18 <moo:moo/>
19</foo:foo>
20
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette