generated from sethub/template
[libxml2]Add libxml2 library
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by asdf (fdsa) -->
|
||||
<!--Sample XML file generated by XML Spy v4.3 U (http://www.xmlspy.com)-->
|
||||
<dn_len_list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="Z:\proto\wsif\temp.xsd">
|
||||
<dn_length>15</dn_length>
|
||||
<destroy>127</destroy>
|
||||
<dn_length>15</dn_length>
|
||||
<destroy>127</destroy>
|
||||
<dn_length>15</dn_length>
|
||||
<destroy>127</destroy>
|
||||
</dn_len_list>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="dn_len_list">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="3">
|
||||
<xs:element name="dn_length" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Destination Number Length</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:byte">
|
||||
<xs:minInclusive value="1"/>
|
||||
<xs:maxInclusive value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="destroy" type="xs:byte" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>destroy flag</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
</contact>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name= "contact" type="ContactType"/>
|
||||
<xsd:complexType name="ContactType">
|
||||
<xsd:choice minOccurs="2" maxOccurs="2">
|
||||
<xsd:element name="customer" type="xsd:string" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
<customer/>
|
||||
</contact>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name= "contact" type="ContactType"/>
|
||||
<xsd:complexType name="ContactType">
|
||||
<xsd:choice minOccurs="1" maxOccurs="2">
|
||||
<xsd:element name="customer" type="xsd:string" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
<customer/>
|
||||
<customer/>
|
||||
</contact>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
<customer/>
|
||||
<comment/>
|
||||
<customer/>
|
||||
<comment/>
|
||||
</contact>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
<customer/>
|
||||
<comment/>
|
||||
</contact>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<contact>
|
||||
<comment/>
|
||||
<customer/>
|
||||
<comment/>
|
||||
</contact>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://www.example.org/test-import-case"
|
||||
targetNamespace="http://www.example.org/test-import-case">
|
||||
|
||||
<xs:simpleType name="test-attribute">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="this" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://www.example.org/test-import-case"
|
||||
targetNamespace="http://www.example.org/test-import-case">
|
||||
<xs:include schemaLocation="./582887-element.xsd" />
|
||||
<xs:include schemaLocation="./582887-attribute.xsd" />
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://www.example.org/test-import-case"
|
||||
targetNamespace="http://www.example.org/test-import-case">
|
||||
<xs:include schemaLocation="./582887-common.xsd" />
|
||||
|
||||
<xs:complexType name="test-element">
|
||||
<xs:attribute name="test-attribute" type="test-attribute" />
|
||||
</xs:complexType>
|
||||
<xs:element name="test-element" type="test-element" />
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<test-case xmlns="http://www.example.org/test-case"
|
||||
xmlns:tc="http://www.example.org/test-import-case"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.example.org/test-case ./582887-case.xsd">
|
||||
<tc:test-element test-attribute="this" />
|
||||
</test-case>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:tc="http://www.example.org/test-import-case"
|
||||
xmlns="http://www.example.org/test-case"
|
||||
targetNamespace="http://www.example.org/test-case">
|
||||
|
||||
<xs:import namespace="http://www.example.org/test-import-case"
|
||||
schemaLocation="./582887-common.xsd" />
|
||||
|
||||
<xs:complexType name="test-case">
|
||||
<xs:sequence>
|
||||
<xs:element ref="tc:test-element" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="test-case" type="test-case" />
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Prog1"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Prog1">
|
||||
|
||||
<xs:include schemaLocation="582906-1-common.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified"
|
||||
xml:lang="en">
|
||||
|
||||
<xs:include schemaLocation="582906-1-common.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Prog2"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Prog2">
|
||||
|
||||
<xs:include schemaLocation="582906-1-common.xsd"/>
|
||||
|
||||
<xs:include schemaLocation="582906-1-prog2-include.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CollectedOutput xmlns="http://example.com/xml/Aggregator"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://example.com/xml/Aggregator
|
||||
582906-1.xsd">5.3</CollectedOutput>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Aggregator"
|
||||
xmlns:prog1="http://example.com/xml/Prog1"
|
||||
xmlns:prog2="http://example.com/xml/Prog2"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Aggregator">
|
||||
|
||||
<xs:import schemaLocation="582906-1-prog1.xsd"
|
||||
namespace="http://example.com/xml/Prog1" />
|
||||
|
||||
<xs:import schemaLocation="582906-1-prog2.xsd"
|
||||
namespace="http://example.com/xml/Prog2"
|
||||
/>
|
||||
|
||||
<xs:element name="CollectedOutput" type="xs:float"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Prog3">
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Prog1"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Prog1">
|
||||
|
||||
<xs:include schemaLocation="582906-2-common.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified" attributeFormDefault="unqualified"
|
||||
xml:lang="en">
|
||||
|
||||
<xs:include schemaLocation="582906-2-common.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Prog2"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Prog2">
|
||||
|
||||
<xs:include schemaLocation="582906-2-common.xsd"/>
|
||||
|
||||
<xs:include schemaLocation="582906-2-prog2-include.xsd"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CollectedOutput xmlns="http://example.com/xml/Aggregator"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://example.com/xml/Aggregator
|
||||
582906-2-0.xsd">5.3</CollectedOutput>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Id$ -->
|
||||
<xs:schema xmlns="http://example.com/xml/Aggregator"
|
||||
xmlns:prog1="http://example.com/xml/Prog1"
|
||||
xmlns:prog2="http://example.com/xml/Prog2"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified"
|
||||
targetNamespace="http://example.com/xml/Aggregator">
|
||||
|
||||
<xs:import schemaLocation="582906-2-prog1.xsd"
|
||||
namespace="http://example.com/xml/Prog1" />
|
||||
|
||||
<xs:import schemaLocation="582906-2-prog2.xsd"
|
||||
namespace="http://example.com/xml/Prog2"
|
||||
/>
|
||||
|
||||
<xs:element name="CollectedOutput" type="xs:float"/>
|
||||
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:complexType name="PurchaseOrderType">
|
||||
<xsd:sequence>
|
||||
<xsd:all>
|
||||
<xsd:element name="shipTo" type="USAddress"/>
|
||||
<xsd:element name="billTo" type="USAddress"/>
|
||||
<xsd:element name="items" type="Items"/>
|
||||
</xsd:all>
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="comment" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:sequence>
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="orderDate" type="xsd:date"/>
|
||||
</xsd:complexType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<a>
|
||||
<b/>
|
||||
</a>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:complexType name="A">
|
||||
<xs:all>
|
||||
<xs:element name="b" type="xs:string" minOccurs="0"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="a" type="A"/>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><a/><b/><c/></doc>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="doc">
|
||||
<xsd:complexType>
|
||||
<xsd:all minOccurs="1">
|
||||
<xsd:element name="a"/>
|
||||
<xsd:element name="b"/>
|
||||
<xsd:element name="c"/>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,2 @@
|
||||
<doc><b/><c/><a/></doc>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="doc">
|
||||
<xsd:complexType>
|
||||
<xsd:all minOccurs="0">
|
||||
<xsd:element name="a"/>
|
||||
<xsd:element name="b"/>
|
||||
<xsd:element name="c"/>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><b/><a/><c/></doc>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="doc">
|
||||
<xsd:complexType>
|
||||
<xsd:all>
|
||||
<xsd:element name="a"/>
|
||||
<xsd:element minOccurs="0" name="b"/>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><a/><b/></doc>
|
||||
@@ -0,0 +1 @@
|
||||
<doc></doc>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><a/><b/><a/></doc>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><a/></doc>
|
||||
@@ -0,0 +1 @@
|
||||
<doc><a/><b/></doc>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-B-2/>
|
||||
<gm-A-1/>
|
||||
</foo>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
xmlns:foo="urn:test:foo">
|
||||
|
||||
<!-- Substitution group heads. -->
|
||||
<xsd:element name="gh-A" abstract="true"/>
|
||||
<xsd:element name="gh-B" abstract="true"/>
|
||||
|
||||
<!-- Substitution group members. -->
|
||||
<xsd:element name="gm-A-1" substitutionGroup="foo:gh-A"/>
|
||||
<xsd:element name="gm-A-2" substitutionGroup="foo:gh-A"/>
|
||||
|
||||
<xsd:element name="gm-B-1" substitutionGroup="foo:gh-B"/>
|
||||
<xsd:element name="gm-B-2" substitutionGroup="foo:gh-B"/>
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:all>
|
||||
<xsd:element ref="foo:gh-A"/>
|
||||
<xsd:element ref="foo:gh-B"/>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-B-2/>
|
||||
<gm-A-2/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-A-2/>
|
||||
<gm-B-2/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-B-2/>
|
||||
<gm-B-1/>
|
||||
</foo>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-A-1/>
|
||||
<gm-A-1/>
|
||||
</foo>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo sg-all.xsd">
|
||||
<gm-B-1/>
|
||||
<gm-A-2/>
|
||||
<gm-B-2/>
|
||||
</foo>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="http://FOO"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO annot-err_0.xsd"/>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:goo="http://GOO"
|
||||
xmlns:but="http://BUT">
|
||||
<xsd:element name="foo" xml:lang="hhh">
|
||||
<xsd:annotation id="id1" death="is a good entertainer" but:such="is life">
|
||||
I shouldn't do this here...
|
||||
<xsd:appinfo id="id2" source="somewhere"
|
||||
goo:fun="bag" fun="another fun-bag">
|
||||
weeelll
|
||||
</xsd:appinfo>
|
||||
<xsd:documentation xml:lang="*" id="id3" source="anywhere"
|
||||
goo:mothers="of invention" mothers="don't do your dishes">
|
||||
hmmmmmm
|
||||
</xsd:documentation>
|
||||
...and here as well - more than ever
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Tests xsd:any with "##any". -->
|
||||
<foo:foo
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO any1_0.xsd">
|
||||
|
||||
<foo:anything>
|
||||
<foo:boo booAttr="123"/>
|
||||
</foo:anything>
|
||||
<bar:anything>
|
||||
<foo:boo booAttr="213"/>
|
||||
</bar:anything>
|
||||
<anything>
|
||||
<foo:boo booAttr="213"/>
|
||||
</anything>
|
||||
|
||||
|
||||
</foo:foo>
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Tests xsd:any with "##any". -->
|
||||
<xsd:schema
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO">
|
||||
|
||||
<xsd:element name="boo">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="booAttr" type="xsd:integer" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="3"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Tests xsd:any with a set of namespaces, icluding
|
||||
"##local" and "##targetNamespace". -->
|
||||
<foo:foo
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO any2_0.xsd">
|
||||
|
||||
<foo:anything>
|
||||
<foo:boo booAttr="123"/>
|
||||
</foo:anything>
|
||||
|
||||
<bar:anything>
|
||||
<foo:boo booAttr="123"/>
|
||||
</bar:anything>
|
||||
|
||||
<anything>
|
||||
<foo:boo booAttr="123"/>
|
||||
</anything>
|
||||
|
||||
|
||||
</foo:foo>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Tests xsd:any with a set of namespaces, icluding
|
||||
"##local" and "##targetNamespace". -->
|
||||
<xsd:schema
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO">
|
||||
|
||||
<xsd:element name="boo">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="booAttr" type="xsd:integer" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:any
|
||||
namespace="##targetNamespace http://BAR ##local"
|
||||
processContents="lax"
|
||||
maxOccurs="3"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Tests xsd:any.
|
||||
invalid: <bar.A/> and <foo:bar.B/>
|
||||
valid: <bar:bar.C/>
|
||||
-->
|
||||
<foo:foo
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO any3_0.xsd">
|
||||
|
||||
<bar.A/>
|
||||
<foo:bar.B/>
|
||||
<bar:bar.C/>
|
||||
|
||||
</foo:foo>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO">
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:any namespace="##other" processContents="lax"/>
|
||||
<xsd:any namespace="##other" processContents="lax"/>
|
||||
<xsd:any namespace="##other" processContents="lax"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Tests xsd:any.
|
||||
invalid: <bar.A/> and <foo:bar.B/>
|
||||
valid: <bar:bar.C/>
|
||||
-->
|
||||
<foo:foo
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO any4_0.xsd">
|
||||
|
||||
<foo:anything>
|
||||
<foo:boo booAttr="123"/>
|
||||
</foo:anything>
|
||||
|
||||
</foo:foo>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO">
|
||||
|
||||
<xsd:element name="boo">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="booAttr" type="xsd:integer" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:choice>
|
||||
<xsd:any namespace="http://FOO" processContents="lax" maxOccurs="1"/>
|
||||
<xsd:element name="anything" form="qualified">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="foo:boo"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo/>
|
||||
</foo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="boo"/>
|
||||
<xsd:any namespace="##other" maxOccurs="5" processContents="lax"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
</foo>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="boo"/>
|
||||
<xsd:any namespace="##other" maxOccurs="5" processContents="lax"/>
|
||||
<xsd:element name="boo"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo/>
|
||||
</foo>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
</foo>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
</foo>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo/>
|
||||
</foo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo xmlns="urn:test:foo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any5_0.xsd">
|
||||
<boo/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo xmlns="urn:test:bar"/>
|
||||
<boo/>
|
||||
</foo>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Dummy instance for any-1_1.xsd -->
|
||||
<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-1_1.xsd">
|
||||
<foo:bar/>
|
||||
<moo:moo/>
|
||||
</foo:foo>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Content model error:
|
||||
|
||||
any-err-not-determinist-1.xsd:29: element complexType: Schemas parser error :
|
||||
local complex type: The content model is not determinist.
|
||||
|
||||
As per Xerces and XSV this schema is OK.
|
||||
|
||||
The problem appears when the maxOccurs of <bar> is greater than
|
||||
the one of the <any> wildcard. Additionally if both are "unbounded".
|
||||
If the latter is a different issue we should add an explicit test
|
||||
for it.
|
||||
|
||||
Examples:
|
||||
<bar> <any> result
|
||||
2 1 error
|
||||
2 2 OK
|
||||
1 2 OK
|
||||
unbounded 2 error
|
||||
unbounded unbounded error
|
||||
2 unbounded OK
|
||||
-->
|
||||
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="bar" maxOccurs="2"/>
|
||||
<xs:any namespace="##other" maxOccurs="1" processContents="lax"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
"element complexType: Schemas parser error :
|
||||
local complex type: The content model is not determinist."
|
||||
|
||||
This schema is OK with XSV and Xerces.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="bar" maxOccurs="unbounded"/>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
No error reported.
|
||||
|
||||
Seems like <moo> is accepted, but should not, since "##other" rules out
|
||||
elements in no namespace.
|
||||
|
||||
Xerces reports:
|
||||
any-err-2.xml:18,8: (Error) cvc-complex-type.2.4.a: Invalid content starting
|
||||
with element 'moo'.
|
||||
One of '{"urn:test:foo":bar, WC[##other:"urn:test:foo"]}' is expected.
|
||||
|
||||
-->
|
||||
<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/>
|
||||
<moo/>
|
||||
</foo:foo>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="bar"/>
|
||||
<xs:any namespace="##other" processContents="lax"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
No error reported.
|
||||
|
||||
Seems like <moo> is accepted, but should not, since "##other" rules out
|
||||
elements in no namespace.
|
||||
|
||||
Xerces reports:
|
||||
any-err-2.xml:18,8: (Error) cvc-complex-type.2.4.a: Invalid content starting
|
||||
with element 'moo'.
|
||||
One of '{"urn:test:foo":bar, WC[##other:"urn:test:foo"]}' is expected.
|
||||
|
||||
-->
|
||||
<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 any7_2.xsd">
|
||||
<foo:bar/>
|
||||
<moo:moo/>
|
||||
</foo:foo>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="bar"/>
|
||||
<xs:any namespace="##other" processContents="lax" maxOccurs="2"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<foo:foo xmlns:foo="urn:test:foo"
|
||||
xmlns:moo="urn:test:moo"
|
||||
xmlns:boo="urn:test:boo"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:test:foo any8_1.xsd">
|
||||
<foo:bar/>
|
||||
<foo:bar/>
|
||||
</foo:foo>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
"element complexType: Schemas parser error :
|
||||
local complex type: The content model is not determinist."
|
||||
|
||||
This schema is OK with XSV and Xerces.
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="urn:test:foo"
|
||||
elementFormDefault="qualified">
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="bar"/>
|
||||
<xs:any namespace="##other" processContents="lax" minOccurs="0"/>
|
||||
<xs:element name="bar"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:doo="http://DOO"
|
||||
xmlns:import="http://IMPORT"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO anyAttr-derive-errors1_0.xsd">
|
||||
|
||||
<derive.1_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<derive.1_4 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<derive.2_1 barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.3_1 barA="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.4_1 bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
|
||||
<derive.5_1_a barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.5_1_b barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
|
||||
<derive.5_2_a bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.5_2_b bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
|
||||
<derive.5_4_a bar:barB="o" doo:barD="o" />
|
||||
<derive.5_4_b bar:barB="o" doo:barD="o" />
|
||||
|
||||
<derive.6_1 barA="o" bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
<derive.6_2 bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
</foo>
|
||||
|
||||
|
||||
@@ -0,0 +1,223 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<xsd:schema xmlns:foo="http://FOO" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:import="http://IMPORT"
|
||||
targetNamespace="http://FOO" elementFormDefault="qualified">
|
||||
<xsd:import namespace="http://IMPORT" schemaLocation="anyAttr.importA.1_0.xsd"/>
|
||||
<xsd:import schemaLocation="anyAttr.importB.1_0.xsd"/>
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<!-- Attribute Wildcard Union -->
|
||||
<xsd:element name="derive.1_1" type="foo:type.1_1"/>
|
||||
<xsd:element name="derive.1_4" type="foo:type.1_4"/>
|
||||
<xsd:element name="derive.2_1" type="foo:type.2_1"/>
|
||||
<xsd:element name="derive.3_1" type="foo:type.3_1"/>
|
||||
<xsd:element name="derive.4_1" type="foo:type.4_1"/>
|
||||
<xsd:element name="derive.5_1_a" type="foo:type.5_1_a"/>
|
||||
<xsd:element name="derive.5_1_b" type="foo:type.5_1_b"/>
|
||||
<xsd:element name="derive.5_2_a" type="foo:type.5_2_a"/>
|
||||
<xsd:element name="derive.5_2_b" type="foo:type.5_2_b"/>
|
||||
<xsd:element name="derive.5_4_a" type="foo:type.5_4_a"/>
|
||||
<xsd:element name="derive.5_4_b" type="foo:type.5_4_b"/>
|
||||
<xsd:element name="derive.6_1" type="foo:type.6_1"/>
|
||||
<xsd:element name="derive.6_2" type="foo:type.6_2"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<!-- Attribute Wildcard Union -->
|
||||
|
||||
<!-- 1. If O1 and O2 are the same value, then that value must be the value. -->
|
||||
<xsd:complexType name="type.1_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.1_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.1_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.1_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.1_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<xsd:complexType name="type.1_4">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.1_4">
|
||||
<xsd:anyAttribute namespace="http://BAR ##local http://FOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.1_4">
|
||||
<xsd:attributeGroup ref="foo:attrGr.1_4"/>
|
||||
<xsd:anyAttribute namespace="##local http://BAR ##targetNamespace " processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.1_4">
|
||||
<xsd:anyAttribute namespace=" http://FOO http://BAR ##local"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- 2. If either O1 or O2 is any, then any must be the value. -->
|
||||
<xsd:complexType name="type.2_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.2_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.2_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.2_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.2_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- 3. If both O1 and O2 are sets of (namespace names or ·absent·),
|
||||
then the union of those sets must be the value. -->
|
||||
<xsd:complexType name="type.3_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.3_1">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://DOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.3_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.3_1"/>
|
||||
<xsd:anyAttribute namespace="##local" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.3_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace http://BAR"/>
|
||||
</xsd:attributeGroup>
|
||||
<!-- 4 If the two are negations of different values (namespace
|
||||
names or ·absent·), then a pair of not and ·absent· must be the value. -->
|
||||
<xsd:complexType name="type.4_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.4_1">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<!-- 5 If either O1 or O2 is a pair of not and a namespace name and
|
||||
the other is a set of (namespace names or ·absent·) (call this set S),
|
||||
then The appropriate case among the following must be true: -->
|
||||
<!-- 5.1 If the set S includes both the negated namespace name and
|
||||
·absent·, then any must be the value. -->
|
||||
<xsd:complexType name="type.5_1_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_1_a">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_1_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_1_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_1_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_1_b">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<!-- 5.2 If the set S includes the negated namespace name but not ·absent·,
|
||||
then a pair of not and ·absent· must be the value. -->
|
||||
<xsd:complexType name="type.5_2_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_2_a">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_2_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_2_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_2_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_2_b">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<!-- 5.3 If the set S includes ·absent· but not the negated namespace name,
|
||||
then the union is not expressible. -->
|
||||
<!--
|
||||
<xsd:complexType name="type.5_3_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_3_a">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_3_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_3_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_3_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_3_b">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
-->
|
||||
<!-- 5.4 If the set S does not include either the negated namespace name
|
||||
or ·absent·, then whichever of O1 or O2 is a pair of not and a namespace
|
||||
name must be the value. -->
|
||||
<xsd:complexType name="type.5_4_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_4_a">
|
||||
<xsd:anyAttribute namespace="http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_4_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_4_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_4_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_4_b">
|
||||
<xsd:anyAttribute namespace="http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<!-- 6 If either O1 or O2 is a pair of not and ·absent· and the other is a
|
||||
set of (namespace names or ·absent·) (again, call this set S), then The
|
||||
appropriate case among the following must be true: -->
|
||||
<!-- 6.1 If the set S includes ·absent·, then any must be the value. -->
|
||||
<xsd:complexType name="type.6_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.6">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<!-- 6.2 If the set S does not include ·absent·, then a pair of not and ·absent·
|
||||
must be the value. -->
|
||||
<xsd:complexType name="type.6_2">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.6">
|
||||
<xsd:anyAttribute namespace="http://BAR http://DOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:doo="http://DOO"
|
||||
xmlns:import="http://IMPORT"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO anyAttr-derive1_0.xsd">
|
||||
|
||||
<derive.1_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<derive.1_4 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<derive.2_1 barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.3_1 barA="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.4_1 bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
|
||||
<derive.5_1_a barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.5_1_b barA="o" bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
|
||||
<derive.5_2_a bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
<derive.5_2_b bar:barB="o" foo:barC="o" doo:barD="o" />
|
||||
|
||||
<derive.5_4_a bar:barB="o" doo:barD="o" />
|
||||
<derive.5_4_b bar:barB="o" doo:barD="o" />
|
||||
|
||||
<derive.6_1 barA="o" bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
<derive.6_2 bar:barB="o" foo:barC="o" doo:barD="o"/>
|
||||
</foo>
|
||||
|
||||
|
||||
@@ -0,0 +1,227 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<xsd:schema xmlns:foo="http://FOO" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:import="http://IMPORT"
|
||||
targetNamespace="http://FOO" elementFormDefault="qualified">
|
||||
<xsd:import namespace="http://IMPORT" schemaLocation="anyAttr.importA.1_0.xsd"/>
|
||||
<xsd:import schemaLocation="anyAttr.importB.1_0.xsd"/>
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<!-- Attribute Wildcard Union -->
|
||||
<xsd:element name="derive.1_1" type="foo:type.1_1"/>
|
||||
<xsd:element name="derive.1_4" type="foo:type.1_4"/>
|
||||
|
||||
<xsd:element name="derive.2_1" type="foo:type.2_1"/>
|
||||
|
||||
<xsd:element name="derive.3_1" type="foo:type.3_1"/>
|
||||
|
||||
<xsd:element name="derive.4_1" type="foo:type.4_1"/>
|
||||
|
||||
<xsd:element name="derive.5_1_a" type="foo:type.5_1_a"/>
|
||||
<xsd:element name="derive.5_1_b" type="foo:type.5_1_b"/>
|
||||
<xsd:element name="derive.5_2_a" type="foo:type.5_2_a"/>
|
||||
<xsd:element name="derive.5_2_b" type="foo:type.5_2_b"/>
|
||||
<xsd:element name="derive.5_4_a" type="foo:type.5_4_a"/>
|
||||
<xsd:element name="derive.5_4_b" type="foo:type.5_4_b"/>
|
||||
<xsd:element name="derive.6_1" type="foo:type.6_1"/>
|
||||
<xsd:element name="derive.6_2" type="foo:type.6_2"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<!-- Attribute Wildcard Union -->
|
||||
|
||||
<!-- 1. If O1 and O2 are the same value, then that value must be the value. -->
|
||||
<xsd:complexType name="type.1_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.1_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.1_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.1_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.1_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<xsd:complexType name="type.1_4">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.1_4">
|
||||
<xsd:anyAttribute namespace="http://BAR ##local http://FOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.1_4">
|
||||
<xsd:attributeGroup ref="foo:attrGr.1_4"/>
|
||||
<xsd:anyAttribute namespace="##local http://BAR ##targetNamespace " processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.1_4">
|
||||
<xsd:anyAttribute namespace=" http://FOO http://BAR ##local"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- 2. If either O1 or O2 is any, then any must be the value. -->
|
||||
<xsd:complexType name="type.2_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.2_1">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.2_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.2_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.2_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- 3. If both O1 and O2 are sets of (namespace names or ·absent·),
|
||||
then the union of those sets must be the value. -->
|
||||
<xsd:complexType name="type.3_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.3_1">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://DOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.3_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.3_1"/>
|
||||
<xsd:anyAttribute namespace="##local" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.3_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace http://BAR"/>
|
||||
</xsd:attributeGroup>
|
||||
<!-- 4 If the two are negations of different values (namespace
|
||||
names or ·absent·), then a pair of not and ·absent· must be the value. -->
|
||||
<xsd:complexType name="type.4_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.4_1">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<!-- 5 If either O1 or O2 is a pair of not and a namespace name and
|
||||
the other is a set of (namespace names or ·absent·) (call this set S),
|
||||
then The appropriate case among the following must be true: -->
|
||||
<!-- 5.1 If the set S includes both the negated namespace name and
|
||||
·absent·, then any must be the value. -->
|
||||
<xsd:complexType name="type.5_1_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_1_a">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_1_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_1_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_1_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_1_b">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<!-- 5.2 If the set S includes the negated namespace name but not ·absent·,
|
||||
then a pair of not and ·absent· must be the value. -->
|
||||
<xsd:complexType name="type.5_2_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_2_a">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_2_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_2_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_2_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_2_b">
|
||||
<xsd:anyAttribute namespace="##targetNamespace http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<!-- 5.3 If the set S includes ·absent· but not the negated namespace name,
|
||||
then the union is not expressible. -->
|
||||
<!--
|
||||
<xsd:complexType name="type.5_3_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_3_a">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_3_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_3_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_3_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_3_b">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
-->
|
||||
<!-- 5.4 If the set S does not include either the negated namespace name
|
||||
or ·absent·, then whichever of O1 or O2 is a pair of not and a namespace
|
||||
name must be the value. -->
|
||||
<xsd:complexType name="type.5_4_a">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_4_a">
|
||||
<xsd:anyAttribute namespace="http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_4_a">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="type.5_4_b">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="foo:type.base.5_4_b">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.base.5_4_b">
|
||||
<xsd:anyAttribute namespace="http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<!-- 6 If either O1 or O2 is a pair of not and ·absent· and the other is a
|
||||
set of (namespace names or ·absent·) (again, call this set S), then The
|
||||
appropriate case among the following must be true: -->
|
||||
<!-- 6.1 If the set S includes ·absent·, then any must be the value. -->
|
||||
<xsd:complexType name="type.6_1">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.6">
|
||||
<xsd:anyAttribute namespace="##local http://BAR" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
<!-- 6.2 If the set S does not include ·absent·, then a pair of not and ·absent·
|
||||
must be the value. -->
|
||||
<xsd:complexType name="type.6_2">
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="imp.type.base.derive.6">
|
||||
<xsd:anyAttribute namespace="http://BAR http://DOO" processContents="lax"/>
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
-->
|
||||
<foo xmlns="http://FOO" xmlns:foo="http://FOO" xmlns:bar="http://BAR" xmlns:boo="http://BOO" xmlns:doo="http://DOO"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO attrGroup-wildcard1_0.xsd"
|
||||
foo:bar="o" doo:bar="o"/>
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!--
|
||||
-->
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO" elementFormDefault="qualified" attributeFormDefault="qualified">
|
||||
|
||||
<element name="foo">
|
||||
<complexType>
|
||||
<complexContent>
|
||||
<extension base="foo:type.A">
|
||||
<anyAttribute namespace="http://DOO" processContents="skip"/>
|
||||
</extension>
|
||||
</complexContent>
|
||||
</complexType>
|
||||
</element>
|
||||
|
||||
<complexType name="type.A">
|
||||
<attributeGroup ref="foo:attrGr.A_1"/>
|
||||
<attributeGroup ref="foo:attrGr.A_2"/>
|
||||
<anyAttribute namespace="http://FOO" processContents="skip"/>
|
||||
</complexType>
|
||||
|
||||
<attributeGroup name="attrGr.A_1">
|
||||
<anyAttribute namespace="http://FOO http://BOO" processContents="skip"/>
|
||||
</attributeGroup>
|
||||
|
||||
<attributeGroup name="attrGr.A_2">
|
||||
<anyAttribute namespace="http://BAR http://DOO http://FOO" processContents="skip"/>
|
||||
</attributeGroup>
|
||||
|
||||
|
||||
</schema>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:import="http://IMPORT"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO file:///c:/dev/libxml2/patches/2004-05-17/anyAttr-errors1_0.xsd">
|
||||
|
||||
<!-- not allowed: foo:barC -->
|
||||
<basic.B foo:barC="o"/>
|
||||
<!-- not allowed: foo:barC -->
|
||||
<basic.C foo:barC="o"/>
|
||||
<!-- not allowed: barA, bar:barB -->
|
||||
<basic.D barA="o" bar:barB="o"/>
|
||||
<!-- not allowed: bar:barB -->
|
||||
<inters.2_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<!-- not allowed: barA, foo:barC -->
|
||||
<inters.3_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<!-- not allowed: bar:barB -->
|
||||
<inters.4_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<!-- not allowed: barA, foo:barC -->
|
||||
<inters.6_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
</foo>
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO anyAttr-processContents1_0.xsd">
|
||||
<elem.lax foo:bar="o o"/>
|
||||
<elem.strict foo:barB="GB"/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<xsd:schema xmlns:foo="http://FOO"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
targetNamespace="http://FOO">
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="elem.lax" type="foo:type.lax"/>
|
||||
<xsd:element name="elem.strict" type="foo:type.strict"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:attribute name="bar" type="xsd:language" />
|
||||
|
||||
<xsd:complexType name="type.lax">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.strict">
|
||||
<xsd:anyAttribute namespace="##any" processContents="strict"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO anyAttr-processContents1_0.xsd">
|
||||
<elem.lax.A foo:barA_1="PL"/>
|
||||
<elem.lax.B foo:barA_2="o"/>
|
||||
<elem.strict foo:barB="FR"/>
|
||||
<elem.skip foo:barC="o"/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<xsd:schema xmlns:foo="http://FOO"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
targetNamespace="http://FOO">
|
||||
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="elem.lax.A" type="foo:type.lax"/>
|
||||
<xsd:element name="elem.lax.B" type="foo:type.lax"/>
|
||||
<xsd:element name="elem.strict" type="foo:type.strict"/>
|
||||
<xsd:element name="elem.skip" type="foo:type.skip"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<xsd:attribute name="barA" type="xsd:language" />
|
||||
<xsd:attribute name="barB" type="xsd:language" />
|
||||
|
||||
<xsd:complexType name="type.lax">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.strict">
|
||||
<xsd:anyAttribute namespace="##any"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.skip">
|
||||
<xsd:anyAttribute namespace="##any" processContents="skip"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://IMPORT"
|
||||
xmlns:imp="http://IMPORT" xmlns:boo="http://BOO">
|
||||
|
||||
<xsd:attributeGroup name="attrGr.inters.5_1">
|
||||
<xsd:anyAttribute namespace="##other"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<xsd:element name="imp.element"/>
|
||||
|
||||
<xsd:attribute name="imp.attribute" type="xsd:string"/>
|
||||
|
||||
<xsd:group name="imp.group">
|
||||
<xsd:sequence>
|
||||
<xsd:element ref="imp:imp.element"/>
|
||||
</xsd:sequence>
|
||||
</xsd:group>
|
||||
|
||||
<xsd:complexType name="imp.complexType">
|
||||
<xsd:attribute ref="imp:imp.attribute"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xsd:attributeGroup name="attrGr.inters.6_1">
|
||||
<xsd:anyAttribute namespace="##other"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<xsd:complexType name="imp.type.base.inters.4_1">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="imp.type.base.derive.4_1">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="imp.type.base.derive.6">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo
|
||||
xmlns="http://FOO"
|
||||
xmlns:foo="http://FOO"
|
||||
xmlns:bar="http://BAR"
|
||||
xmlns:boo="http://BOO"
|
||||
xmlns:import="http://IMPORT"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://FOO anyAttr1_0.xsd">
|
||||
<import:imp.element/>
|
||||
<imp.attribute import:imp.attribute="p"/>
|
||||
<imp.group>
|
||||
<import:imp.element/>
|
||||
</imp.group>
|
||||
<basic.A bar:barA="o"/>
|
||||
<basic.B bar:barB="o"/>
|
||||
<basic.C barC="o"/>
|
||||
<basic.D foo:barD="o"/>
|
||||
<basic.E barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<inters.1_1 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<inters.1_2 bar:barB="o"/>
|
||||
<inters.1_3 barA="o" foo:barC="o"/>
|
||||
<inters.1_4 barA="o" bar:barB="o" foo:barC="o"/>
|
||||
<inters.2_1 barA="o" foo:barC="o"/>
|
||||
<inters.3_1 bar:barB="o"/>
|
||||
<inters.4_1 barA="o" foo:barC="o"/>
|
||||
<!--inters.5_1 barA="o" bar:barB="o" foo:barC="o"/-->
|
||||
<inters.6_1 bar:barB="o"/>
|
||||
</foo>
|
||||
|
||||
|
||||
@@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<xsd:schema xmlns:foo="http://FOO" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:import="http://IMPORT"
|
||||
targetNamespace="http://FOO" elementFormDefault="qualified">
|
||||
<xsd:import namespace="http://IMPORT" schemaLocation="anyAttr.importA.1_0.xsd"/>
|
||||
<xsd:import schemaLocation="anyAttr.importB.1_0.xsd"/>
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<!-- Import -->
|
||||
<xsd:element ref="import:imp.element"/>
|
||||
<xsd:element name="imp.attribute">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute ref="import:imp.attribute"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="imp.group">
|
||||
<xsd:complexType>
|
||||
<xsd:group ref="import:imp.group"/>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<!-- Basic -->
|
||||
<xsd:element name="basic.A" type="foo:type.basic.A"/>
|
||||
<xsd:element name="basic.B" type="foo:type.basic.B"/>
|
||||
<xsd:element name="basic.C" type="foo:type.basic.C"/>
|
||||
<xsd:element name="basic.D" type="foo:type.basic.D"/>
|
||||
<xsd:element name="basic.E" type="foo:type.basic.E"/>
|
||||
<!-- Attribute Wildcard Intersection -->
|
||||
<xsd:element name="inters.1_1" type="foo:type.inters.1_1"/>
|
||||
<xsd:element name="inters.1_2" type="foo:type.inters.1_2"/>
|
||||
<xsd:element name="inters.1_3" type="foo:type.inters.1_3"/>
|
||||
<xsd:element name="inters.1_4" type="foo:type.inters.1_4"/>
|
||||
|
||||
<xsd:element name="inters.2_1" type="foo:type.inters.2_1"/>
|
||||
|
||||
<xsd:element name="inters.3_1" type="foo:type.inters.3_1"/>
|
||||
|
||||
<xsd:element name="inters.4_1" type="foo:type.inters.4_1"/>
|
||||
|
||||
<!--xsd:element name="inters.5_1" type="type.inters.5_1"/-->
|
||||
<xsd:element name="inters.6_1" type="foo:type.inters.6_1"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
|
||||
<!-- Basic -->
|
||||
<xsd:complexType name="type.basic.A">
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.basic.B">
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.basic.C">
|
||||
<xsd:anyAttribute namespace="##local" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.basic.D">
|
||||
<xsd:anyAttribute namespace="##targetNamespace" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:complexType name="type.basic.E">
|
||||
<xsd:anyAttribute namespace="##targetNamespace ##local http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<!-- Attribute Wildcard Intersection -->
|
||||
|
||||
<!-- 1. If O1 and O2 are the same value, then that value must be the value. -->
|
||||
<xsd:complexType name="type.inters.1_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.1_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.1_1">
|
||||
<xsd:anyAttribute namespace="##any"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:complexType name="type.inters.1_2">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.1_2"/>
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.1_2">
|
||||
<xsd:anyAttribute namespace="##other"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:complexType name="type.inters.1_3">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.1_3"/>
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.1_3">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
<xsd:complexType name="type.inters.1_4">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.1_4"/>
|
||||
<xsd:anyAttribute namespace="##local http://BAR ##targetNamespace " processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.1_4">
|
||||
<xsd:anyAttribute namespace=" ##targetNamespace http://BAR ##local"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
<!-- 2. If either O1 or O2 is any, then the other must be the value. -->
|
||||
<xsd:complexType name="type.inters.2_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.2_1"/>
|
||||
<xsd:anyAttribute namespace="##any" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.2_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
<!-- 3. If either O1 or O2 is a pair of not and a value (a namespace name or ·absent·)
|
||||
and the other is a set of (namespace names or ·absent·), then that set, minus the
|
||||
negated value if it was in the set, minus ·absent· if it was in the set, must be the value. -->
|
||||
<xsd:complexType name="type.inters.3_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.3_1"/>
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.3_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace http://BAR"/>
|
||||
</xsd:attributeGroup>
|
||||
<!-- 4. If both O1 and O2 are sets of (namespace names or ·absent·), then the
|
||||
intersection of those sets must be the value. -->
|
||||
<xsd:complexType name="type.inters.4_1">
|
||||
<xsd:attributeGroup ref="foo:attrGr.inters.4_1"/>
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace http://BAR" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
<xsd:attributeGroup name="attrGr.inters.4_1">
|
||||
<xsd:anyAttribute namespace="##local ##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
<!-- 5. If the two are negations of different namespace names,
|
||||
then the intersection is not expressible. -->
|
||||
<!--
|
||||
<xsd:complexType name="type.inters.5_1">
|
||||
<xsd:attributeGroup ref="import:attrGr.inters.5_1"/>
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
-->
|
||||
<!--6. If the one is a negation of a namespace name and the other is a negation of ·absent·,
|
||||
then the one which is the negation of a namespace name must be the value.
|
||||
|
||||
This one uses an attribute group from an imported schema with no targetNamespace.
|
||||
-->
|
||||
<xsd:complexType name="type.inters.6_1">
|
||||
<xsd:attributeGroup ref="attrGr.inters.6_1"/>
|
||||
<xsd:anyAttribute namespace="##other" processContents="lax"/>
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:attributeGroup name="attrGrA">
|
||||
<xsd:anyAttribute namespace="##targetNamespace"/>
|
||||
</xsd:attributeGroup>
|
||||
|
||||
</xsd:schema>
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<foo id="abc"/>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<xsd:element name="foo">
|
||||
<xsd:complexType>
|
||||
<xsd:simpleContent>
|
||||
<xsd:extension base="xsd:string">
|
||||
<xsd:attribute name="id" type="xsd:ID"/>
|
||||
</xsd:extension>
|
||||
</xsd:simpleContent>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<foo>
|
||||
<barA attr="bar"/>
|
||||
<barB attr="bar"/>
|
||||
<barB />
|
||||
<barC/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<xs:element name="foo">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
|
||||
<xs:element name="barA" >
|
||||
<xs:complexType>
|
||||
<xs:attribute name="attr" type="xs:string" use="required" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="barB" >
|
||||
<xs:complexType>
|
||||
<xs:attribute name="attr" type="xs:string" use="optional" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="barC" >
|
||||
<xs:complexType>
|
||||
<xs:attribute name="attr" type="xs:string" use="prohibited" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<foo>
|
||||
<barA />
|
||||
<barB attr="bar"/>
|
||||
<barB />
|
||||
<barC/>
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<foo>
|
||||
<barA attr="bar" />
|
||||
<barB attr="bar"/>
|
||||
<barB />
|
||||
<barC attr="bar" />
|
||||
</foo>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<foo xmlns="http://FOO">lalala</foo>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<schema
|
||||
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://FOO"
|
||||
xmlns:foo="http://FOO">
|
||||
|
||||
<element name="foo" type="foo:fooType" nillable="false" />
|
||||
|
||||
<complexType name="fooType" mixed="true">
|
||||
<simpleContent>
|
||||
<extension base="string" />
|
||||
</simpleContent>
|
||||
</complexType>
|
||||
|
||||
</schema>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user