diff options
Diffstat (limited to 'test/schemas')
295 files changed, 0 insertions, 7094 deletions
diff --git a/test/schemas/.memdump b/test/schemas/.memdump deleted file mode 100644 index f2a70c2..0000000 --- a/test/schemas/.memdump +++ /dev/null @@ -1,4 +0,0 @@ - 05:55:56 PM - - MEMORY ALLOCATED : 0, MAX was 31048 -BLOCK NUMBER SIZE TYPE diff --git a/test/schemas/all.xsd b/test/schemas/all.xsd deleted file mode 100644 index b2e70e3..0000000 --- a/test/schemas/all.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?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> diff --git a/test/schemas/all1_0.xml b/test/schemas/all1_0.xml deleted file mode 100644 index f50088c..0000000 --- a/test/schemas/all1_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<a> - <b/> -</a> diff --git a/test/schemas/all1_0.xsd b/test/schemas/all1_0.xsd deleted file mode 100644 index 28fee0e..0000000 --- a/test/schemas/all1_0.xsd +++ /dev/null @@ -1,10 +0,0 @@ -<?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> diff --git a/test/schemas/all_0.xml b/test/schemas/all_0.xml deleted file mode 100644 index fb5b0fa..0000000 --- a/test/schemas/all_0.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><a/><b/><c/></doc> diff --git a/test/schemas/all_0.xsd b/test/schemas/all_0.xsd deleted file mode 100644 index 55c04ee..0000000 --- a/test/schemas/all_0.xsd +++ /dev/null @@ -1,12 +0,0 @@ -<?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> diff --git a/test/schemas/all_1.xml b/test/schemas/all_1.xml deleted file mode 100644 index 41d797e..0000000 --- a/test/schemas/all_1.xml +++ /dev/null @@ -1,2 +0,0 @@ -<doc><b/><c/><a/></doc> - diff --git a/test/schemas/all_1.xsd b/test/schemas/all_1.xsd deleted file mode 100644 index bc386f3..0000000 --- a/test/schemas/all_1.xsd +++ /dev/null @@ -1,12 +0,0 @@ -<?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> diff --git a/test/schemas/all_2.xml b/test/schemas/all_2.xml deleted file mode 100644 index cc1580b..0000000 --- a/test/schemas/all_2.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><b/><a/><c/></doc> diff --git a/test/schemas/all_2.xsd b/test/schemas/all_2.xsd deleted file mode 100644 index 630b0df..0000000 --- a/test/schemas/all_2.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?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> diff --git a/test/schemas/all_3.xml b/test/schemas/all_3.xml deleted file mode 100644 index c011b3f..0000000 --- a/test/schemas/all_3.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><a/><b/></doc> diff --git a/test/schemas/all_4.xml b/test/schemas/all_4.xml deleted file mode 100644 index afa807c..0000000 --- a/test/schemas/all_4.xml +++ /dev/null @@ -1 +0,0 @@ -<doc></doc> diff --git a/test/schemas/all_5.xml b/test/schemas/all_5.xml deleted file mode 100644 index d68f321..0000000 --- a/test/schemas/all_5.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><a/><b/><a/></doc> diff --git a/test/schemas/all_6.xml b/test/schemas/all_6.xml deleted file mode 100644 index 7dd71b1..0000000 --- a/test/schemas/all_6.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><a/></doc> diff --git a/test/schemas/all_7.xml b/test/schemas/all_7.xml deleted file mode 100644 index c011b3f..0000000 --- a/test/schemas/all_7.xml +++ /dev/null @@ -1 +0,0 @@ -<doc><a/><b/></doc> diff --git a/test/schemas/allsg_0.xml b/test/schemas/allsg_0.xml deleted file mode 100644 index 814646f..0000000 --- a/test/schemas/allsg_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/allsg_0.xsd b/test/schemas/allsg_0.xsd deleted file mode 100644 index 11d27a8..0000000 --- a/test/schemas/allsg_0.xsd +++ /dev/null @@ -1,26 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/allsg_1.xml b/test/schemas/allsg_1.xml deleted file mode 100644 index d1dc9c4..0000000 --- a/test/schemas/allsg_1.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?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> - diff --git a/test/schemas/allsg_2.xml b/test/schemas/allsg_2.xml deleted file mode 100644 index b39cb7a..0000000 --- a/test/schemas/allsg_2.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?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> - diff --git a/test/schemas/allsg_3.xml b/test/schemas/allsg_3.xml deleted file mode 100644 index ac37b7b..0000000 --- a/test/schemas/allsg_3.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?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> diff --git a/test/schemas/allsg_4.xml b/test/schemas/allsg_4.xml deleted file mode 100644 index bbb654a..0000000 --- a/test/schemas/allsg_4.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?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> diff --git a/test/schemas/allsg_5.xml b/test/schemas/allsg_5.xml deleted file mode 100644 index 44dde3e..0000000 --- a/test/schemas/allsg_5.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?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> diff --git a/test/schemas/annot-err_0.xml b/test/schemas/annot-err_0.xml deleted file mode 100644 index fe92b0a..0000000 --- a/test/schemas/annot-err_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?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"/>
\ No newline at end of file diff --git a/test/schemas/annot-err_0.xsd b/test/schemas/annot-err_0.xsd deleted file mode 100644 index 94d818c..0000000 --- a/test/schemas/annot-err_0.xsd +++ /dev/null @@ -1,21 +0,0 @@ -<?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> diff --git a/test/schemas/any1_0.xml b/test/schemas/any1_0.xml deleted file mode 100644 index 91264e4..0000000 --- a/test/schemas/any1_0.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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> - diff --git a/test/schemas/any1_0.xsd b/test/schemas/any1_0.xsd deleted file mode 100644 index ed0087b..0000000 --- a/test/schemas/any1_0.xsd +++ /dev/null @@ -1,22 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any2_0.xml b/test/schemas/any2_0.xml deleted file mode 100644 index e649a2c..0000000 --- a/test/schemas/any2_0.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?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> - diff --git a/test/schemas/any2_0.xsd b/test/schemas/any2_0.xsd deleted file mode 100644 index 2bf726e..0000000 --- a/test/schemas/any2_0.xsd +++ /dev/null @@ -1,26 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any3_0.xml b/test/schemas/any3_0.xml deleted file mode 100644 index 158f91c..0000000 --- a/test/schemas/any3_0.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?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> - diff --git a/test/schemas/any3_0.xsd b/test/schemas/any3_0.xsd deleted file mode 100644 index b5c29f6..0000000 --- a/test/schemas/any3_0.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any4_0.xml b/test/schemas/any4_0.xml deleted file mode 100644 index 1620397..0000000 --- a/test/schemas/any4_0.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?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> - diff --git a/test/schemas/any4_0.xsd b/test/schemas/any4_0.xsd deleted file mode 100644 index fa93577..0000000 --- a/test/schemas/any4_0.xsd +++ /dev/null @@ -1,28 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any5_0.xml b/test/schemas/any5_0.xml deleted file mode 100644 index e716cb1..0000000 --- a/test/schemas/any5_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?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> diff --git a/test/schemas/any5_0.xsd b/test/schemas/any5_0.xsd deleted file mode 100644 index 70c8789..0000000 --- a/test/schemas/any5_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any5_1.xml b/test/schemas/any5_1.xml deleted file mode 100644 index 91dcb54..0000000 --- a/test/schemas/any5_1.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> diff --git a/test/schemas/any5_1.xsd b/test/schemas/any5_1.xsd deleted file mode 100644 index 4d3c9de..0000000 --- a/test/schemas/any5_1.xsd +++ /dev/null @@ -1,14 +0,0 @@ -<?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> diff --git a/test/schemas/any5_2.xml b/test/schemas/any5_2.xml deleted file mode 100644 index e8434d1..0000000 --- a/test/schemas/any5_2.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?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> diff --git a/test/schemas/any5_3.xml b/test/schemas/any5_3.xml deleted file mode 100644 index 828c4b3..0000000 --- a/test/schemas/any5_3.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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> diff --git a/test/schemas/any5_4.xml b/test/schemas/any5_4.xml deleted file mode 100644 index 91dcb54..0000000 --- a/test/schemas/any5_4.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> diff --git a/test/schemas/any5_5.xml b/test/schemas/any5_5.xml deleted file mode 100644 index e09d8a1..0000000 --- a/test/schemas/any5_5.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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> diff --git a/test/schemas/any5_6.xml b/test/schemas/any5_6.xml deleted file mode 100644 index 3b0ad73..0000000 --- a/test/schemas/any5_6.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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> diff --git a/test/schemas/any6_0.xml b/test/schemas/any6_0.xml deleted file mode 100755 index 068a1a9..0000000 --- a/test/schemas/any6_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any6_1.xsd b/test/schemas/any6_1.xsd deleted file mode 100644 index 23b2f5d..0000000 --- a/test/schemas/any6_1.xsd +++ /dev/null @@ -1,36 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any6_2.xsd b/test/schemas/any6_2.xsd deleted file mode 100644 index a552ca8..0000000 --- a/test/schemas/any6_2.xsd +++ /dev/null @@ -1,19 +0,0 @@ -<?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> diff --git a/test/schemas/any7_0.xml b/test/schemas/any7_0.xml deleted file mode 100755 index 288b1e7..0000000 --- a/test/schemas/any7_0.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?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> diff --git a/test/schemas/any7_1.xml b/test/schemas/any7_1.xml deleted file mode 100755 index 624c712..0000000 --- a/test/schemas/any7_1.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any7_1.xsd b/test/schemas/any7_1.xsd deleted file mode 100755 index 546904f..0000000 --- a/test/schemas/any7_1.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?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>
\ No newline at end of file diff --git a/test/schemas/any7_2.xml b/test/schemas/any7_2.xml deleted file mode 100644 index 66d84d0..0000000 --- a/test/schemas/any7_2.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?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> - diff --git a/test/schemas/any7_2.xsd b/test/schemas/any7_2.xsd deleted file mode 100755 index cabfd98..0000000 --- a/test/schemas/any7_2.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?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>
diff --git a/test/schemas/any8_0.xml b/test/schemas/any8_0.xml deleted file mode 100644 index 6e87cff..0000000 --- a/test/schemas/any8_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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> diff --git a/test/schemas/any8_1.xsd b/test/schemas/any8_1.xsd deleted file mode 100644 index 9264893..0000000 --- a/test/schemas/any8_1.xsd +++ /dev/null @@ -1,20 +0,0 @@ -<?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> diff --git a/test/schemas/anyAttr-derive-errors1_0.xml b/test/schemas/anyAttr-derive-errors1_0.xml deleted file mode 100644 index 98e948c..0000000 --- a/test/schemas/anyAttr-derive-errors1_0.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr-derive-errors1_0.xsd b/test/schemas/anyAttr-derive-errors1_0.xsd deleted file mode 100644 index 1ab9bab..0000000 --- a/test/schemas/anyAttr-derive-errors1_0.xsd +++ /dev/null @@ -1,223 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr-derive1_0.xml b/test/schemas/anyAttr-derive1_0.xml deleted file mode 100644 index de89f45..0000000 --- a/test/schemas/anyAttr-derive1_0.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr-derive1_0.xsd b/test/schemas/anyAttr-derive1_0.xsd deleted file mode 100644 index bc14d99..0000000 --- a/test/schemas/anyAttr-derive1_0.xsd +++ /dev/null @@ -1,227 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr-derive2_0.xml b/test/schemas/anyAttr-derive2_0.xml deleted file mode 100644 index c90cb88..0000000 --- a/test/schemas/anyAttr-derive2_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?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"/> - - diff --git a/test/schemas/anyAttr-derive2_0.xsd b/test/schemas/anyAttr-derive2_0.xsd deleted file mode 100644 index 3a74d68..0000000 --- a/test/schemas/anyAttr-derive2_0.xsd +++ /dev/null @@ -1,33 +0,0 @@ -<?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> diff --git a/test/schemas/anyAttr-errors1_0.xml b/test/schemas/anyAttr-errors1_0.xml deleted file mode 100644 index 769a5bb..0000000 --- a/test/schemas/anyAttr-errors1_0.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr-processContents-err1_0.xml b/test/schemas/anyAttr-processContents-err1_0.xml deleted file mode 100644 index a0122f4..0000000 --- a/test/schemas/anyAttr-processContents-err1_0.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr-processContents-err1_0.xsd b/test/schemas/anyAttr-processContents-err1_0.xsd deleted file mode 100644 index cc2a0fd..0000000 --- a/test/schemas/anyAttr-processContents-err1_0.xsd +++ /dev/null @@ -1,26 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr-processContents1_0.xml b/test/schemas/anyAttr-processContents1_0.xml deleted file mode 100644 index f821089..0000000 --- a/test/schemas/anyAttr-processContents1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr-processContents1_0.xsd b/test/schemas/anyAttr-processContents1_0.xsd deleted file mode 100644 index a468702..0000000 --- a/test/schemas/anyAttr-processContents1_0.xsd +++ /dev/null @@ -1,32 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr.importA.1_0.xsd b/test/schemas/anyAttr.importA.1_0.xsd deleted file mode 100644 index 92e0bbe..0000000 --- a/test/schemas/anyAttr.importA.1_0.xsd +++ /dev/null @@ -1,24 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr.importB.1_0.xsd b/test/schemas/anyAttr.importB.1_0.xsd deleted file mode 100644 index 33eaba8..0000000 --- a/test/schemas/anyAttr.importB.1_0.xsd +++ /dev/null @@ -1,21 +0,0 @@ -<?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> - diff --git a/test/schemas/anyAttr1_0.xml b/test/schemas/anyAttr1_0.xml deleted file mode 100644 index 50b5b16..0000000 --- a/test/schemas/anyAttr1_0.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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> - - diff --git a/test/schemas/anyAttr1_0.xsd b/test/schemas/anyAttr1_0.xsd deleted file mode 100644 index 1fcf898..0000000 --- a/test/schemas/anyAttr1_0.xsd +++ /dev/null @@ -1,144 +0,0 @@ -<?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> - - diff --git a/test/schemas/attr0_0.xml b/test/schemas/attr0_0.xml deleted file mode 100644 index cb5b1a6..0000000 --- a/test/schemas/attr0_0.xml +++ /dev/null @@ -1 +0,0 @@ -<foo id="abc"/> diff --git a/test/schemas/attr0_0.xsd b/test/schemas/attr0_0.xsd deleted file mode 100644 index d2031ba..0000000 --- a/test/schemas/attr0_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?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> - diff --git a/test/schemas/attruse_0_0.xml b/test/schemas/attruse_0_0.xml deleted file mode 100644 index 241ab27..0000000 --- a/test/schemas/attruse_0_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo> - <barA attr="bar"/> - <barB attr="bar"/> - <barB /> - <barC/> -</foo> - diff --git a/test/schemas/attruse_0_0.xsd b/test/schemas/attruse_0_0.xsd deleted file mode 100644 index bc9ccef..0000000 --- a/test/schemas/attruse_0_0.xsd +++ /dev/null @@ -1,32 +0,0 @@ -<?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> - diff --git a/test/schemas/attruse_0_1.xml b/test/schemas/attruse_0_1.xml deleted file mode 100644 index b857c6d..0000000 --- a/test/schemas/attruse_0_1.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo> - <barA /> - <barB attr="bar"/> - <barB /> - <barC/> -</foo> - diff --git a/test/schemas/attruse_0_2.xml b/test/schemas/attruse_0_2.xml deleted file mode 100644 index f55ccdc..0000000 --- a/test/schemas/attruse_0_2.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo> - <barA attr="bar" /> - <barB attr="bar"/> - <barB /> - <barC attr="bar" /> -</foo> - diff --git a/test/schemas/bug141312_0.xml b/test/schemas/bug141312_0.xml deleted file mode 100644 index 7d7abb1..0000000 --- a/test/schemas/bug141312_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO">lalala</foo> diff --git a/test/schemas/bug141312_0.xsd b/test/schemas/bug141312_0.xsd deleted file mode 100644 index c9a7e2c..0000000 --- a/test/schemas/bug141312_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?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> - diff --git a/test/schemas/bug141333.xml b/test/schemas/bug141333.xml deleted file mode 100644 index e14aa46..0000000 --- a/test/schemas/bug141333.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="bug141333.xsd" attrA="valueA"> - - <bar attrA="valueA" attrB="valueB"/> - -</foo> - diff --git a/test/schemas/bug141333.xsd b/test/schemas/bug141333.xsd deleted file mode 100644 index 1b81a7b..0000000 --- a/test/schemas/bug141333.xsd +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> - - <xs:element name="foo" type="baseType"/> - - <xs:complexType name="baseType"> - <xs:all> - <xs:element name="bar" type="derivedType" minOccurs="0"/> - </xs:all> - <xs:attribute name="attrA" type="xs:string" use="required"/> - </xs:complexType> - - <xs:complexType name="derivedType"> - <xs:complexContent> - <xs:extension base="baseType"> - <xs:attribute name="attrB" type="xs:string" use="required"/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - -</xs:schema> - - - - diff --git a/test/schemas/bug141333_0.xml b/test/schemas/bug141333_0.xml deleted file mode 100644 index e14aa46..0000000 --- a/test/schemas/bug141333_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="bug141333.xsd" attrA="valueA"> - - <bar attrA="valueA" attrB="valueB"/> - -</foo> - diff --git a/test/schemas/bug141333_0.xsd b/test/schemas/bug141333_0.xsd deleted file mode 100644 index 1b81a7b..0000000 --- a/test/schemas/bug141333_0.xsd +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> - - <xs:element name="foo" type="baseType"/> - - <xs:complexType name="baseType"> - <xs:all> - <xs:element name="bar" type="derivedType" minOccurs="0"/> - </xs:all> - <xs:attribute name="attrA" type="xs:string" use="required"/> - </xs:complexType> - - <xs:complexType name="derivedType"> - <xs:complexContent> - <xs:extension base="baseType"> - <xs:attribute name="attrB" type="xs:string" use="required"/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - -</xs:schema> - - - - diff --git a/test/schemas/bug143951.imp b/test/schemas/bug143951.imp deleted file mode 100644 index 58420d3..0000000 --- a/test/schemas/bug143951.imp +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<xs:schema targetNamespace="http://www.newport-networks.com/NNL" -xmlns:nnl="http://www.newport-networks.com/NNL" -xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" -attributeFormDefault="unqualified" version="1.00"> - <xs:group name="schema2group"> - <xs:sequence> - <xs:element name="file" type="xs:string" -default="$File$"/> - </xs:sequence> - </xs:group> -</xs:schema> diff --git a/test/schemas/bug143951_0.xml b/test/schemas/bug143951_0.xml deleted file mode 100644 index a742a0d..0000000 --- a/test/schemas/bug143951_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<MenuDefinitionFile xmlns:nnl="http://www.newport-networks.com/NNL" -xmlns="http://www.newport-networks.com/cli" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://www.newport-networks.com/cli bug143951_0.xsd"> - <nnl:file>$File: //depot/NNL/R1.0_SandM_Dev/Projects/SandM/src/uisupport -/xml/cliTestCommands.xml $</nnl:file> -</MenuDefinitionFile> - diff --git a/test/schemas/bug143951_0.xsd b/test/schemas/bug143951_0.xsd deleted file mode 100644 index d5c9511..0000000 --- a/test/schemas/bug143951_0.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<xs:schema targetNamespace="http://www.newport-networks.com/cli" - xmlns:nnl="http://www.newport-networks.com/NNL" - xmlns:cli="http://www.newport-networks.com/cli" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - elementFormDefault="qualified" attributeFormDefault="unqualified" - version="1.00"> - <xs:import namespace="http://www.newport-networks.com/NNL" schemaLocation="bug143951.imp"/> - <xs:element name="MenuDefinitionFile"> - <xs:complexType> - <xs:sequence> - <xs:group ref="nnl:schema2group"/> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> - diff --git a/test/schemas/bug145246.xsd.imp b/test/schemas/bug145246.xsd.imp deleted file mode 100644 index 7d92e1c..0000000 --- a/test/schemas/bug145246.xsd.imp +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://purl.org/dc/elements/1.1/" - targetNamespace="http://purl.org/dc/elements/1.1/" - elementFormDefault="qualified" - attributeFormDefault="unqualified"> - - <xs:annotation> - <xs:documentation xml:lang="en"> - DCMES 1.1 XML Schema - XML Schema for http://purl.org/dc/elements/1.1/ namespace - - Created 2003-04-02 - - Created by - - Tim Cole (t-cole3@uiuc.edu) - Tom Habing (thabing@uiuc.edu) - Jane Hunter (jane@dstc.edu.au) - Pete Johnston (p.johnston@ukoln.ac.uk), - Carl Lagoze (lagoze@cs.cornell.edu) - - This schema declares XML elements for the 15 DC elements from the - http://purl.org/dc/elements/1.1/ namespace. - - It defines a complexType SimpleLiteral which permits mixed content - and makes the xml:lang attribute available. It disallows child elements by - use of minOcccurs/maxOccurs. - - However, this complexType does permit the derivation of other complexTypes - which would permit child elements. - - All elements are declared as substitutable for the abstract element any, - which means that the default type for all elements is dc:SimpleLiteral. - - </xs:documentation> - - </xs:annotation> - - - <xs:import namespace="http://www.w3.org/XML/1998/namespace" - schemaLocation="xml.xsd"> - </xs:import> - <!--http://www.w3.org/2001/03/xml.xsd--> - <xs:complexType name="SimpleLiteral"> - <xs:annotation> - <xs:documentation xml:lang="en"> - This is the default type for all of the DC elements. - It permits text content only with optional - xml:lang attribute. - Text is allowed because mixed="true", but sub-elements - are disallowed because minOccurs="0" and maxOccurs="0" - are on the xs:any tag. - - This complexType allows for restriction or extension permitting - child elements. - </xs:documentation> - </xs:annotation> - - <xs:complexContent mixed="true"> - <xs:restriction base="xs:anyType"> - <xs:sequence> - <xs:any processContents="lax" minOccurs="1" maxOccurs="2"/> - </xs:sequence> - <xs:attribute ref="xml:lang" use="optional"/> - </xs:restriction> - </xs:complexContent> - </xs:complexType> - - <xs:element name="any" type="SimpleLiteral" abstract="true"/> - - <xs:element name="title" substitutionGroup="any"/> - <xs:element name="creator" substitutionGroup="any"/> - <xs:element name="subject" substitutionGroup="any"/> - <xs:element name="description" substitutionGroup="any"/> - <xs:element name="publisher" substitutionGroup="any"/> - <xs:element name="contributor" substitutionGroup="any"/> - <xs:element name="date" substitutionGroup="any"/> - <xs:element name="type" substitutionGroup="any"/> - <xs:element name="format" substitutionGroup="any"/> - <xs:element name="identifier" substitutionGroup="any"/> - <xs:element name="source" substitutionGroup="any"/> - <xs:element name="language" substitutionGroup="any"/> - <xs:element name="relation" substitutionGroup="any"/> - <xs:element name="coverage" substitutionGroup="any"/> - <xs:element name="rights" substitutionGroup="any"/> - - <xs:group name="elementsGroup"> - <xs:annotation> - <xs:documentation xml:lang="en"> - This group is included as a convenience for schema authors - who need to refer to all the elements in the - http://purl.org/dc/elements/1.1/ namespace. - </xs:documentation> - </xs:annotation> - - <xs:sequence> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="any"/> - </xs:choice> - </xs:sequence> - </xs:group> - - <xs:complexType name="elementContainer"> - <xs:annotation> - <xs:documentation xml:lang="en"> - This complexType is included as a convenience for schema authors who need to define a root - or container element for all of the DC elements. - </xs:documentation> - </xs:annotation> - - <xs:choice> - <xs:group ref="elementsGroup"/> - </xs:choice> - </xs:complexType> - - -</xs:schema> - diff --git a/test/schemas/bug145246_0.xml b/test/schemas/bug145246_0.xml deleted file mode 100644 index 09050c6..0000000 --- a/test/schemas/bug145246_0.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!--DOCTYPE giml SYSTEM "http://gitk.sourceforge.net/giml.dtd"--> -<!-- $Id: gitkTemplate_message.xml.in,v 1.11 2004/01/07 14:21:17 ensonic Exp $ - * @file gitkTemplate_message.xml - * @author Stefan Kost <ensonic@users.sf.net> - * @date Thu Jan 17 11:22:38 2002 - * - * @brief message dialog template - * @ingroup gitkcore - * ---> -<giml xmlns="http://gitk.sourceforge.net/" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://gitk.sourceforge.net/ bug145246.xsd" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:i18n="http://apache.org/cocoon/i18n/2.0" - > - <dialog focus="ctrl"> - <meta> - <dc:title><i18n:text>message</i18n:text></dc:title> - </meta> - <dialogwidgets> - <dialogwidget id="Okay"/> - </dialogwidgets> - <widgetgroup> - <widget id="Message" type="label"/> - </widgetgroup> - </dialog> -</giml> - diff --git a/test/schemas/bug145246_0.xsd b/test/schemas/bug145246_0.xsd deleted file mode 100644 index 9cfe8c6..0000000 --- a/test/schemas/bug145246_0.xsd +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version="1.0" ?> -<!-- - * $Id: giml.xsd,v 1.3 2004/06/25 09:03:53 ensonic Exp $ - * @file giml.xsd - * @author Stefan Kost <ensonic@users.sf.net> - * @date Thu Jun 24 17:28:26 MEST 2004 - * - * @brief giml document schema definition - * @ingroup gitkcore - * ---> -<xs:schema targetNamespace="http://gitk.sourceforge.net/" - xmlns="http://gitk.sourceforge.net/" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:i18n="http://apache.org/cocoon/i18n/2.0/"> - <xs:annotation> - <xs:documentation> - This schema describes giml dialog sources - </xs:documentation> - </xs:annotation> - - <xs:import namespace="http://purl.org/dc/elements/1.1/" - schemaLocation="bug145246.xsd.imp" - /> - <!--xs:import namespace="http://apache.org/cocoon/i18n/2.0/" - schemaLocation="file://./i18n.xsd" - /--> - - <!-- foreign namespace - <xs:element name="title"> - <xs:complexType mixed="true"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - </xs:choice> - </xs:complexType> - </xs:element> - - <xs:element name="text"> - <xs:complexType mixed="true"></xs:complexType> - </xs:element> - --> - - <xs:element name="option"> - <xs:complexType mixed="true"> - <xs:choice minOccurs="0" maxOccurs="unbounded"></xs:choice> - </xs:complexType> - </xs:element> - - <xs:element name="options"> - <xs:complexType> - <xs:sequence minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="option"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="disabled"> - <xs:complexType mixed="true"></xs:complexType> - </xs:element> - - <xs:element name="required"> - <xs:complexType mixed="true"></xs:complexType> - </xs:element> - - <xs:element name="value"> - <xs:complexType mixed="true"></xs:complexType> - </xs:element> - - <xs:element name="label"> - <xs:complexType mixed="true"> - <xs:choice minOccurs="0" maxOccurs="1"></xs:choice> - </xs:complexType> - </xs:element> - - <xs:element name="widget"> - <xs:complexType> - <xs:sequence> - <xs:element ref="meta" minOccurs="0"/> - <xs:element ref="label" minOccurs="0"/> - <xs:element ref="disabled" minOccurs="0"/> - <xs:element ref="value" minOccurs="0"/> - <xs:element ref="options" minOccurs="0"/> - </xs:sequence> - <xs:attribute name="id" type="xs:ID"/> - <xs:attribute name="type" default="action"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:enumeration value="action"/> - <xs:enumeration value="characterinput"/> - <xs:enumeration value="characterinput_numeric"/> - <xs:enumeration value="characterinput_alphabetic"/> - <xs:enumeration value="optionchoice"/> - <xs:enumeration value="optionchoice_boolean"/> - <xs:enumeration value="optionchoice_single"/> - <xs:enumeration value="optionchoice_single_compact"/> - <xs:enumeration value="label"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="hasFocus" default="false"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:complexType> - </xs:element> - - <xs:element name="widgetgroup"> - <xs:complexType> - <xs:sequence> - <xs:element ref="meta" minOccurs="0"/> - <xs:element ref="label" minOccurs="0"/> - <xs:element ref="widget" minOccurs="0" maxOccurs="unbounded"/> - <xs:element ref="widgetgroup" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="dialogwidget"> - <xs:complexType mixed="true"> - <xs:attribute name="id" type="xs:ID"/> - </xs:complexType> - </xs:element> - - <xs:element name="dialogwidgets"> - <xs:complexType> - <xs:sequence> - <xs:element ref="dialogwidget" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="meta"> - <xs:complexType> - <xs:sequence> - <xs:element ref="dc:title"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="dialog"> - <xs:complexType> - <xs:sequence> - <xs:element ref="meta" minOccurs="0" maxOccurs="1"/> - <xs:element ref="dialogwidgets" minOccurs="0" maxOccurs="1"/> - <xs:element ref="widgetgroup" minOccurs="1" maxOccurs="unbounded"/> - </xs:sequence> - <xs:attribute name="id" type="xs:ID"/> - <xs:attribute name="focus" default="main"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:enumeration value="main"/> - <xs:enumeration value="ctrl"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:complexType> - </xs:element> - - <xs:element name="giml"> - <xs:complexType> - <xs:sequence> - <xs:element ref="dialog" minOccurs="1" maxOccurs="1"/> - </xs:sequence> - <!--xs:attribute name="xmlns" type="xs:string" fixed="http://gitk.sourceforge.net/"/--> - </xs:complexType> - </xs:element> - -</xs:schema> - diff --git a/test/schemas/bug152470_1.xml b/test/schemas/bug152470_1.xml deleted file mode 100755 index adca237..0000000 --- a/test/schemas/bug152470_1.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<roap:deviceHello - xmlns:roap="urn:oma:bac:dldrm:roap-1.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <deviceID> - <keyIdentifier -><hash>vXENc+Um/9/NvmYKiHDLaErK0gk=</hash></keyIdentifier> - </deviceID> -</roap:deviceHello>
\ No newline at end of file diff --git a/test/schemas/bug152470_1.xsd b/test/schemas/bug152470_1.xsd deleted file mode 100755 index 7fc9747..0000000 --- a/test/schemas/bug152470_1.xsd +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0"?> -<schema - targetNamespace="urn:oma:bac:dldrm:roap-1.0" - xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:roap="urn:oma:bac:dldrm:roap-1.0" - xmlns:ds="http://www.w3.org/2000/09/xmldsig#" - xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" - elementFormDefault="unqualified" - attributeFormDefault="unqualified"> -<!-- Basic Types --> -<complexType name="Request" abstract="true"/> -<!-- Basic types to identify entities --> - -<complexType name="Identifier"> - <choice> - <element name="keyIdentifier" type="roap:X509SPKIHash"/> <!-- was: type="roap:KeyIdentifier" --> - </choice> -</complexType> - -<complexType name="KeyIdentifier" /> <!-- removed: abstract="true" --> - -<complexType name="X509SPKIHash"> - <complexContent> - <extension base="roap:KeyIdentifier"> - <sequence> - <element name="hash" type="base64Binary"/> - </sequence> - <attribute name="algorithm" type="anyURI" - default="http://www.w3.org/2000/09/xmldsig#sha1"/> - </extension> - </complexContent> -</complexType> - -<element name="deviceHello" type="roap:DeviceHello"/> - -<complexType name="DeviceHello"> - <complexContent> - <extension base="roap:Request"> - <sequence> - <element name="deviceID" type="roap:Identifier" - maxOccurs="unbounded"/> - </sequence> - </extension> - </complexContent> -</complexType> - -</schema> - - diff --git a/test/schemas/bug167754_0.xml b/test/schemas/bug167754_0.xml deleted file mode 100644 index e5ec7d7..0000000 --- a/test/schemas/bug167754_0.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<test xmlns="http://www.example.com/Test" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.example.com/Test bug167754.xsd"> - <child> - <foo/> - </child> - <child> - <foo/> - <joe/> - </child> -</test> diff --git a/test/schemas/bug167754_0.xsd b/test/schemas/bug167754_0.xsd deleted file mode 100644 index e7883d2..0000000 --- a/test/schemas/bug167754_0.xsd +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:target="http://www.example.com/Test" - targetNamespace="http://www.example.com/Test" - version="1.0" - elementFormDefault="qualified" > - - <xsd:element name="foo" /> - <xsd:element name="bar" /> - <xsd:element name="joe" /> - - <xsd:complexType name="dominik"> - <xsd:all> - <xsd:element minOccurs="0" ref="target:foo" /> - <xsd:element minOccurs="0" ref="target:bar" /> - <xsd:element minOccurs="0" ref="target:joe" /> - </xsd:all> - </xsd:complexType> - - <xsd:element name="test"> - <xsd:complexType> - <xsd:sequence> - <xsd:element maxOccurs="unbounded" name="child" type="target:dominik" /> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/bug303566_1.xml b/test/schemas/bug303566_1.xml deleted file mode 100644 index 1bf56dc..0000000 --- a/test/schemas/bug303566_1.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0"?> -<Test - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="bug303566_1.xsd"> - <Country code="D"> - <City name="Berlin" - code="B"> - <Part country="D"/> - <Part country="B"/> - </City> - </Country> - <Country code="F"> - <City name="Paris" code="P"> - <Part country="F"/> - <Part country="F"/> - </City> - </Country> -</Test> - diff --git a/test/schemas/bug303566_1.xsd b/test/schemas/bug303566_1.xsd deleted file mode 100644 index fee99f7..0000000 --- a/test/schemas/bug303566_1.xsd +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:simpleType name="codeType"> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="[A-Z]+"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="Test"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="Country" - maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="Country"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="City" - maxOccurs="unbounded"/> - </xsd:sequence> - <xsd:attribute name="code" - type="codeType" - use="required"/> - </xsd:complexType> - <xsd:key name="CountryDummyKey"> - <xsd:selector xpath="."/> - <xsd:field xpath="@code"/> - </xsd:key> - <xsd:keyref name="PartRefCountryDummy" - refer="CountryDummyKey"> - <xsd:selector xpath=".//Part"/> - <xsd:field xpath="@country"/> - </xsd:keyref> - </xsd:element> - - <xsd:element name="City"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="Part" - minOccurs="2" - maxOccurs="2"/> - </xsd:sequence> - <xsd:attribute name="name" - type="xsd:string" - use="required"/> - <xsd:attribute name="code" - type="xsd:string" - use="required"/> - </xsd:complexType> - </xsd:element> - - <xsd:element name="Part"> - <xsd:complexType> - <xsd:attribute name="country" - type="codeType" - use="required"/> - </xsd:complexType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/bug306806_0.xml b/test/schemas/bug306806_0.xml deleted file mode 100644 index 90c55e1..0000000 --- a/test/schemas/bug306806_0.xml +++ /dev/null @@ -1,111 +0,0 @@ -<?xml version = '1.0'?> -<targetGeometry - xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' - xsi:noNamespaceSchemaLocation='bug306806_1.xsd'> - <!-- type 1 cylinder (original) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <length dimension='L' Length='inch'> 30.250 </length> - <cyl-transform> - <translation dimension='L' Length='inch'> -13.125 0.000 0.000</translation> - <rotation dimension='L' Length='degree'> -0.000 90.000 0.000</rotation> - </cyl-transform> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - -<geometryGroup name='g0'> - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - -<geometryGroup name='g1'> - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> -</geometryGroup> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> -</geometryGroup> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - - <!-- type 2 cylinder (new, version2) --> - <component name="1502"> - <description>/all/turbine/r.turbshaft</description> - <cylinder name="s.turbshaft"> - <radius dimension='L' Length='inch'> 1.375 </radius> - <base1 dimension='L' Length='inch'> 0 0 0 </base1> - <base2 dimension='L' Length='inch'> 1.1 1.1 1.1 </base2> - <description>/all/turbine/r.turbshaft/s.turbshaft</description> - </cylinder> - </component> - -</targetGeometry> diff --git a/test/schemas/bug306806_1.xsd b/test/schemas/bug306806_1.xsd deleted file mode 100644 index edc805d..0000000 --- a/test/schemas/bug306806_1.xsd +++ /dev/null @@ -1,544 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> - <xs:element name="targetGeometry"> - <xs:complexType> - <xs:group minOccurs="0" maxOccurs="unbounded" ref="geometry-element"/> - </xs:complexType> - </xs:element> - <xs:element name="geometryGroup" type="geometryGroup-content"/> - <xs:complexType name="geometryGroup-content"> - <xs:group maxOccurs="unbounded" ref="geometry-element"/> - <xs:attribute name="name" use="required" type="xs:token"/> - </xs:complexType> - <xs:group name="geometry-element"> - <xs:sequence> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="component"/> - <xs:element ref="geometryGroup"/> - </xs:choice> - </xs:sequence> - </xs:group> - <xs:element name="component"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" ref="description"/> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="cylinder"/> - <xs:element ref="ellipsoid"/> - <xs:element ref="faceSet"/> - <xs:element ref="tube"/> - <xs:element ref="sphere"/> - <xs:element ref="box"/> - <xs:element ref="extrusion"/> - </xs:choice> - </xs:sequence> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - </xs:element> - <xs:element name="translation"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="rotation"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="about"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="length"> - <xs:complexType> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction base="xs:double"> - <xs:minExclusive value="0"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="radius"> - <xs:complexType> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction base="xs:double"> - <xs:minExclusive value="0"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="base1"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="base2"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element name="transform"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" ref="translation"/> - <xs:element minOccurs="0" ref="rotation"/> - <xs:element minOccurs="0" ref="about"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="cyl-transform"> - <xs:complexType> - <xs:sequence> - <xs:element ref="translation"/> - <xs:element minOccurs="0" ref="rotation"/> - <xs:element minOccurs="0" ref="about"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="cylinder"> - <xs:complexType> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="radius"/> - <xs:choice> - <xs:choice> - <xs:element ref="length"/> - <xs:element ref="cyl-transform"/> - </xs:choice> - <xs:choice> - <xs:element ref="base1"/> - <xs:element ref="base2"/> - <xs:element minOccurs="0" maxOccurs="unbounded" ref="transform"/> - </xs:choice> - </xs:choice> - <xs:element ref="description"/> - <xs:element ref="vMaterial"/> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - </xs:element> - <xs:element name="ellipsoid"> - <xs:complexType> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element name="radius"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - <xs:element ref="vMaterial"/> - <xs:element ref="transform"/> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - </xs:element> - <xs:element name="faceSet"> - <xs:complexType> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="description"/> - <xs:element ref="vertex_normals"/> - <xs:element ref="vertices"/> - <xs:element ref="facets"/> - <xs:group ref="optional-content"/> - </xs:choice> - <xs:attribute name="name" type="xs:token"/> - </xs:complexType> - </xs:element> - <xs:element name="facets" type="facets-content"/> - <xs:simpleType name="facets-content"> - <xs:restriction base="integer-list"/> - </xs:simpleType> - <xs:element name="vertex_normals" type="vertex_normals-content"/> - <xs:complexType name="vertex_normals-content"> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - </xs:union> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="9"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="length-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - <xs:element name="vertices" type="vertices-content"/> - <xs:complexType name="vertices-content"> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - </xs:union> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="9"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="length-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - <xs:element name="tube" type="tube-content"/> - <xs:complexType name="tube-content"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="spine"/> - <xs:element ref="radius"/> - <xs:group ref="optional-content"/> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - <xs:element name="spine" type="spine-content"/> - <xs:complexType name="spine-content"> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - </xs:union> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="6"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="length-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - <xs:element name="sphere" type="sphere-content"/> - <xs:complexType name="sphere-content"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="radius"/> - <xs:element ref="position"/> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - <xs:element name="position" type="position-content"/> - <xs:complexType name="position-content"> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - <xs:element name="box" type="box-content"/> - <xs:complexType name="box-content"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="size"/> - <xs:choice> - <xs:element ref="position"/> - <xs:element ref="transform"/> - </xs:choice> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - <xs:element name="size" type="size-content"/> - <xs:complexType name="size-content"> - <xs:simpleContent> - <xs:extension base="three-doubles-list"> - <xs:attributeGroup ref="length-attribute"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - <xs:element name="extrusion" type="extrusion-content"/> - <xs:complexType name="extrusion-content"> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="spine"/> - <xs:element ref="scale"/> - <xs:element ref="crossSection"/> - <xs:group ref="optional-content"/> - </xs:choice> - <xs:attributeGroup ref="name-attribute"/> - </xs:complexType> - <xs:element name="scale" type="scale-content"/> - <xs:simpleType name="scale-content"> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double"/> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="2"/> - </xs:restriction> - </xs:simpleType> - <xs:element name="crossSection" type="crossSection-content"/> - <xs:complexType name="crossSection-content"> - <xs:simpleContent> - <xs:restriction base="xs:anyType"> - <xs:simpleType> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - </xs:union> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="9"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup ref="length-attribute"/> - <xs:attributeGroup ref="closed-attribute"/> - </xs:restriction> - </xs:simpleContent> - </xs:complexType> - <xs:attributeGroup name="closed-attribute"> - <xs:attribute name="closed" use="required" type="xs:boolean"/> - </xs:attributeGroup> - <xs:group name="optional-content"> - <xs:annotation> - <xs:documentation>global #############</xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:choice minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="transform"/> - <xs:element ref="vMaterial"/> - </xs:choice> - </xs:sequence> - </xs:group> - <xs:element name="description" type="xs:string"/> - <xs:attributeGroup name="length-attribute"> - <xs:attributeGroup ref="dimension-attribute"/> - <xs:attributeGroup ref="Length-attribute"/> - </xs:attributeGroup> - <xs:attributeGroup name="dimension-attribute"> - <xs:attribute name="dimension" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="L"/> - <xs:enumeration value="F"/> - <xs:enumeration value="M"/> - <xs:enumeration value="T"/> - <xs:enumeration value="F/L"/> - <xs:enumeration value="F/LL"/> - <xs:enumeration value="F/LLL"/> - <xs:enumeration value="F/T"/> - <xs:enumeration value="F/TT"/> - <xs:enumeration value="F/TTT"/> - <xs:enumeration value="L/T"/> - <xs:enumeration value="L/TT"/> - <xs:enumeration value="LLLLL"/> - <xs:enumeration value="D/D"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:attributeGroup name="Length-attribute"> - <xs:attribute name="Length" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="meter"/> - <xs:enumeration value="m"/> - <xs:enumeration value="foot"/> - <xs:enumeration value="f"/> - <xs:enumeration value="inch"/> - <xs:enumeration value="in"/> - <xs:enumeration value="centimeter"/> - <xs:enumeration value="cm"/> - <xs:enumeration value="decimeter"/> - <xs:enumeration value="dm"/> - <xs:enumeration value="millimeter"/> - <xs:enumeration value="mm"/> - <xs:enumeration value="degree"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:attributeGroup name="Time-attribute"> - <xs:attribute name="Time" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="second"/> - <xs:enumeration value="s"/> - <xs:enumeration value="sec"/> - <xs:enumeration value="minute"/> - <xs:enumeration value="min"/> - <xs:enumeration value="hour"/> - <xs:enumeration value="hr"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:attributeGroup name="Force-attribute"> - <xs:attribute name="Force" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="newton"/> - <xs:enumeration value="n"/> - <xs:enumeration value="pound"/> - <xs:enumeration value="grain"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:attributeGroup name="Mass-attribute"> - <xs:attribute name="Mass" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="kilogram"/> - <xs:enumeration value="kg"/> - <xs:enumeration value="gram"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:attributeGroup name="Dimensionless-attribute"> - <xs:attribute name="Dimensionless" use="required"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="radian"/> - <xs:enumeration value="rad"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - </xs:attributeGroup> - <xs:simpleType name="three-doubles-list"> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union memberTypes="xs:double xs:double xs:double"/> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:length value="3"/> - </xs:restriction> - </xs:simpleType> - <xs:simpleType name="integer-list"> - <xs:restriction> - <xs:simpleType> - <xs:list> - <xs:simpleType> - <xs:union memberTypes="xs:integer xs:integer"/> - </xs:simpleType> - </xs:list> - </xs:simpleType> - <xs:minLength value="1"/> - </xs:restriction> - </xs:simpleType> - <xs:attributeGroup name="name-attribute"> - <xs:attribute name="name" use="required" type="xs:token"/> - </xs:attributeGroup> - <xs:attributeGroup name="description-attribute"> - <xs:attribute name="description" use="required"/> - </xs:attributeGroup> - <xs:element name="vMaterial"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" ref="diffuseColor"/> - <xs:element minOccurs="0" ref="emissiveColor"/> - <xs:element minOccurs="0" ref="specularColor"/> - <xs:element minOccurs="0" ref="shininess"/> - <xs:element minOccurs="0" ref="transparency"/> - <xs:element minOccurs="0" ref="ambientIntensity"/> - <xs:element minOccurs="0" ref="DEF"/> - <xs:element minOccurs="0" ref="USE"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="diffuseColor" type="xs:string"/> - <xs:element name="emissiveColor" type="xs:string"/> - <xs:element name="specularColor" type="xs:string"/> - <xs:element name="shininess" type="xs:string"/> - <xs:element name="transparency" type="xs:string"/> - <xs:element name="ambientIntensity" type="xs:string"/> - <xs:element name="DEF" type="xs:string"/> - <xs:element name="USE" type="xs:string"/> -</xs:schema> diff --git a/test/schemas/bug309338_0.xml b/test/schemas/bug309338_0.xml deleted file mode 100644 index 33cbf95..0000000 --- a/test/schemas/bug309338_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="urn:test:foo" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="urn:test:foo bug309338.xsd">2000.00</foo> diff --git a/test/schemas/bug309338_1.xsd b/test/schemas/bug309338_1.xsd deleted file mode 100644 index 0aa586c..0000000 --- a/test/schemas/bug309338_1.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:f="urn:test:foo" - targetNamespace="urn:test:foo"> - <xsd:element name="foo" type="f:fooType"/> - - <xsd:simpleType name="fooType"> - <xsd:restriction base="xsd:decimal"> - <xsd:minExclusive value="0"/> - </xsd:restriction> - </xsd:simpleType> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/bug310264_0.xml b/test/schemas/bug310264_0.xml deleted file mode 100644 index 98f057c..0000000 --- a/test/schemas/bug310264_0.xml +++ /dev/null @@ -1,41 +0,0 @@ -<c xmlns="http://myns" > - <a/> <!-- 1 --> - <a/> <!-- 2 --> - <a/> <!-- 3 --> - <a/> <!-- 4 --> - <a/> <!-- 5 --> - <a/> <!-- 6 --> - <a/> <!-- 7 --> - <a/> <!-- 8 --> - <a/> <!-- 9 --> - <a/> <!-- 10 --> - <a/> <!-- 1 --> - <a/> <!-- 2 --> - <a/> <!-- 3 --> - <a/> <!-- 4 --> - <a/> <!-- 5 --> - <a/> <!-- 6 --> - <a/> <!-- 7 --> - <a/> <!-- 8 --> - <a/> <!-- 9 --> - <a/> <!-- 20 --> - <a/> <!-- 1 --> - <a/> <!-- 2 --> - <a/> <!-- 3 --> - <a/> <!-- 4 --> - <a/> <!-- 5 --> - <a/> <!-- 6 --> - <a/> <!-- 7 --> - <a/> <!-- 8 --> - <a/> <!-- 9 --> - <a/> <!-- 30 --> - <a/> <!-- 1 --> - <a/> <!-- 2 --> - <a/> <!-- 3 --> - <a/> <!-- 4 --> - <a/> <!-- 5 --> - <a/> <!-- 6 --> - <a/> <!-- 7 --> - <a/> <!-- 8 --> -</c> - diff --git a/test/schemas/bug310264_0.xsd b/test/schemas/bug310264_0.xsd deleted file mode 100644 index 6f2b333..0000000 --- a/test/schemas/bug310264_0.xsd +++ /dev/null @@ -1,18 +0,0 @@ -<xs:schema xmlns:tns="http://myns" - targetNamespace="http://myns" - xmlns:xs="http://www.w3.org/2001/XMLSchema" -> - - <xs:element name="a" /> - - <xs:complexType name="c" > - <xs:sequence minOccurs="2" maxOccurs="4"> - <xs:sequence minOccurs="19" maxOccurs="20"> - <xs:element ref="tns:a" /> - </xs:sequence> - </xs:sequence> - </xs:complexType> - - <xs:element name="c" type="tns:c" /> - -</xs:schema> diff --git a/test/schemas/bug312957_0.xml b/test/schemas/bug312957_0.xml deleted file mode 100644 index c22444f..0000000 --- a/test/schemas/bug312957_0.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?>
-<family xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="bug312957_1.xsd"
- name="test">
- <siblings>
- <sibling name="gill"/>
- </siblings>
- <sisters>
- <sister name="gill"/>
- <sister name="annie"/>
- </sisters>
-</family>
-
-
diff --git a/test/schemas/bug312957_1.xsd b/test/schemas/bug312957_1.xsd deleted file mode 100644 index fb7972e..0000000 --- a/test/schemas/bug312957_1.xsd +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:element name="family" type="family_type">
- <xs:key name="sibling_key">
- <xs:selector xpath="siblings/sibling"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:keyref name="sibling_key_ref" refer="sibling_key">
- <xs:selector xpath="sisters/sister"/>
- <xs:field xpath="@name"/>
- </xs:keyref>
- </xs:element>
- <xs:complexType name="family_type">
- <xs:sequence>
- <xs:element name="siblings" type="siblings_type" />
- <xs:element name="sisters" type="sisters_type" />
- </xs:sequence>
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="siblings_type">
- <xs:sequence>
- <xs:element name="sibling" type="sibling_type" minOccurs="0"
-maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="sisters_type">
- <xs:sequence>
- <xs:element name="sister" type="sister_type" minOccurs="0"
-maxOccurs="unbounded" />
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="sibling_type">
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="sister_type">
- <xs:attribute name="name" type="xs:string"/>
- </xs:complexType>
-</xs:schema>
diff --git a/test/schemas/bug313982_0.xml b/test/schemas/bug313982_0.xml deleted file mode 100644 index 18c81ea..0000000 --- a/test/schemas/bug313982_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<testDecimalFacet xmlns="http://www.foo.com" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.foo.com bug313982_0.xsd">0.99</testDecimalFacet> diff --git a/test/schemas/bug313982_0.xsd b/test/schemas/bug313982_0.xsd deleted file mode 100644 index 69d0613..0000000 --- a/test/schemas/bug313982_0.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.foo.com" elementFormDefault="qualified" -xmlns="http://www.foo.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="testDecimalFacet"> - <xsd:simpleType> - <xsd:restriction base="xsd:decimal"> - <xsd:minInclusive value="0"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/bug321475_0.xml b/test/schemas/bug321475_0.xml deleted file mode 100644 index 6190231..0000000 --- a/test/schemas/bug321475_0.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<animation xmlns="http://www.collada.org/2005/11/COLLADASchema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.collada.org/2005/11/COLLADASchema bug321475.xsd"> - <asset/> - <source/> - <sampler/> - <channel/> -</animation> - diff --git a/test/schemas/bug321475_1.xsd b/test/schemas/bug321475_1.xsd deleted file mode 100644 index b714a0d..0000000 --- a/test/schemas/bug321475_1.xsd +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<xs:schema targetNamespace="http://www.collada.org/2005/11/COLLADASchema" - xmlns="http://www.collada.org/2005/11/COLLADASchema" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - elementFormDefault="qualified" version="1.4.0" xml:lang="EN"> - <xs:element name="animation"> - <xs:complexType> - <xs:sequence> - <xs:element ref="asset" minOccurs="0"/> - <xs:choice> - <xs:sequence> - <xs:element ref="source" maxOccurs="unbounded"/> - <xs:choice> - <xs:sequence> - <xs:element ref="sampler" maxOccurs="unbounded"/> - <xs:element ref="channel" maxOccurs="unbounded"/> - <xs:element ref="animation" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - <xs:element ref="animation" maxOccurs="unbounded"/> - </xs:choice> - </xs:sequence> - <xs:sequence> - <xs:element ref="sampler" maxOccurs="unbounded"/> - <xs:element ref="channel" maxOccurs="unbounded"/> - <xs:element ref="animation" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - <xs:element ref="animation" maxOccurs="unbounded"/> - </xs:choice> - <xs:element ref="extra" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - <xs:attribute name="id" type="xs:ID"/> - <xs:attribute name="name" type="xs:NCName"/> - </xs:complexType> - </xs:element> - - <xs:element name="extra"/> - <xs:element name="asset"/> - <xs:element name="channel"/> - <xs:element name="sampler"/> - <xs:element name="source"/> - <xs:element name="technique"/> -</xs:schema> - - - - -
\ No newline at end of file diff --git a/test/schemas/bug322411_0.xml b/test/schemas/bug322411_0.xml deleted file mode 100644 index f883648..0000000 --- a/test/schemas/bug322411_0.xml +++ /dev/null @@ -1,93 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> -<ELEMENTS> - <ELEMENT> - <items> - <item>1</item> - <item>2</item> - <item>3</item> - <item>4</item> - <item>5</item> - <!-- Some dupls. --> - <item>dupl1</item> - <item>dupl2</item> - <item>dupl3</item> - <item>dupl4</item> - <item>dupl5</item> - <item>dupl6</item> - <item>dupl7</item> - <item>dupl8</item> - <item>dupl9</item> - <item>dupl10</item> - <item>dupl11</item> - - <item>6</item> - <item>7</item> - <item>8</item> - <item>9</item> - <item>10</item> - <item>11</item> - <items> - <item>12</item> - <item>13</item> - <item>14</item> - <item>15</item> - <!-- Some dupls. --> - <item>dupl1</item> - <item>dupl2</item> - <item>dupl3</item> - <item>dupl4</item> - <item>dupl5</item> - <item>dupl6</item> - <item>dupl7</item> - <item>dupl8</item> - <item>dupl9</item> - <item>dupl10</item> - <item>dupl11</item> - - <item>16</item> - <item>17</item> - <item>18</item> - <item>19</item> - <item>20</item> - <item>21</item> - </items> - <items> - <item>22</item> - <item>23</item> - <item>24</item> - <item>25</item> - <item>26</item> - <item>27</item> - <item>28</item> - <item>29</item> - <item>30</item> - <item>31</item> - <item>32</item> - <item>33</item> - <item>34</item> - <item>35</item> - <item>36</item> - <item>37</item> - <item>38</item> - <item>39</item> - <item>40</item> - <item>41</item> - <!-- Some dupls. --> - <item>dupl1</item> - <item>dupl2</item> - <item>dupl3</item> - <item>dupl4</item> - <item>dupl5</item> - <item>dupl6</item> - <item>dupl7</item> - <item>dupl8</item> - <item>dupl9</item> - <item>dupl10</item> - <item>dupl11</item> - </items> - </items> - <!-- Keyrefs. --> - <ref>41</ref> - </ELEMENT> -</ELEMENTS> - diff --git a/test/schemas/bug322411_1.xsd b/test/schemas/bug322411_1.xsd deleted file mode 100644 index 383dee6..0000000 --- a/test/schemas/bug322411_1.xsd +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:element name="items"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="item" maxOccurs="unbounded" type="xsd:string"/> - <xsd:element ref="items" minOccurs="0" maxOccurs="2"/> - </xsd:sequence> - </xsd:complexType> - <xsd:unique name="ItemUnique"> - <xsd:selector xpath="item"/> - <xsd:field xpath="."/> - </xsd:unique> - </xsd:element> - - <xsd:element name="ELEMENTS"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="ELEMENT"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="items"/> - <xsd:element name="ref" type="xsd:string" maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - <xsd:keyref name="ItemRef" refer="ItemUnique"> - <xsd:selector xpath="ref"/> - <xsd:field xpath="."/> - </xsd:keyref> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/bug323510_0.xml b/test/schemas/bug323510_0.xml deleted file mode 100644 index ce7647d..0000000 --- a/test/schemas/bug323510_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<foo/> - diff --git a/test/schemas/bug323510_1.xsd b/test/schemas/bug323510_1.xsd deleted file mode 100644 index 8b047ce..0000000 --- a/test/schemas/bug323510_1.xsd +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> - - <xs:element name="foo"> - <xs:complexType> - <xs:sequence> - <xs:element name="bar" minOccurs="1" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - -</xs:schema>
\ No newline at end of file diff --git a/test/schemas/changelog093_0.xml b/test/schemas/changelog093_0.xml deleted file mode 100644 index 4b49612..0000000 --- a/test/schemas/changelog093_0.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<changelog - xmlns="http://www.blackperl.com/XML/ChangeLog" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.blackperl.com/XML/ChangeLog changelog093.xsd"> - <description lang="PL"/> - <description lang="PL"/> - <release version="1" date="2005-04-08T21:12:00"> - <item> - <file path="abc"/> - <description lang="FR"/> - </item> - </release> -</changelog> diff --git a/test/schemas/changelog093_1.xsd b/test/schemas/changelog093_1.xsd deleted file mode 100644 index cf2bcc6..0000000 --- a/test/schemas/changelog093_1.xsd +++ /dev/null @@ -1,253 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://www.blackperl.com/XML/ChangeLog" - targetNamespace="http://www.blackperl.com/XML/ChangeLog" - elementFormDefault="qualified" attributeFormDefault="unqualified" - version="0.93" id="changelog0.93"> - <!-- - Refer to this schema using the following namespace: - http://www.blackperl.com/XML/ChangeLog - --> - <xsd:annotation> - <xsd:documentation> - A description of an XML application which itemizes changes over the - life-span of a software project. Changes are tracked by releases, with a - granularity of individual items made up of files that were affected. - </xsd:documentation> - <xsd:appinfo xmlns:dc="http://purl.org/dc/elements/1.1/"> - <dc:creator>Randy J. Ray (rjray@blackperl.com)</dc:creator> - <dc:date>2004-11-22</dc:date> - <dc:subject>changelog,xml,schema</dc:subject> - <dc:description> - An XML Schema declaration describing an XML expression of software - project change-logs. - </dc:description> - </xsd:appinfo> - <xsd:appinfo> - <rdf:RDF xmlns:cc="http://web.resource.org/cc/" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> - <cc:Work rdf:about=""> - <dc:title>XML Schema for Changelogs</dc:title> - <dc:description> - An XML Schema declaration describing an XML expression of software - project change-logs. - </dc:description> - <dc:creator> - <cc:Agent> - <dc:title>Randy J. Ray</dc:title> - </cc:Agent> - </dc:creator> - <dc:rights> - <cc:Agent> - <dc:title>Randy J. Ray</dc:title> - </cc:Agent> - </dc:rights> - <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> - <cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /> - </cc:Work> - <cc:License rdf:about="http://creativecommons.org/licenses/by-sa/2.0/"> - <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" /> - <cc:permits rdf:resource="http://web.resource.org/cc/Distribution" /> - <cc:requires rdf:resource="http://web.resource.org/cc/Notice" /> - <cc:requires rdf:resource="http://web.resource.org/cc/Attribution" /> - <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> - <cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike" /> - </cc:License> - </rdf:RDF> - </xsd:appinfo> - </xsd:annotation> - - <xsd:complexType id="informationType" name="informationType" - mixed="true"> - <xsd:annotation> - <xsd:documentation> - An open-ended container type for including version-control information - at various levels within the changelog structure. This is the only - type which explicitly permits content from foreign namespaces. - </xsd:documentation> - </xsd:annotation> - <xsd:sequence maxOccurs="unbounded" minOccurs="0"> - <xsd:any processContents="lax" /> - </xsd:sequence> - <xsd:attribute name="source" type="xsd:anyURI" /> - <xsd:anyAttribute namespace="##other" processContents="lax" /> - </xsd:complexType> - - <xsd:complexType id="descriptionType" name="descriptionType"> - <xsd:annotation> - <xsd:documentation> - A description block is used to document everything from specific change - items to the release as a whole. - </xsd:documentation> - </xsd:annotation> - <xsd:simpleContent> - <xsd:extension base="xsd:string"> - <xsd:attribute default="en-US" name="lang" type="xsd:language" /> - </xsd:extension> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:simpleType id="versionString" name="versionString"> - <xsd:annotation> - <xsd:documentation> - The versionString type is applied to attributes that describe simple - revision-number strings. It only supports CVS (RCS) styled version - numbers. - </xsd:documentation> - </xsd:annotation> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="\d+(\.\d+)*" /> - </xsd:restriction> - </xsd:simpleType> - - <xsd:complexType id="fileType" name="fileType"> - <xsd:annotation> - <xsd:documentation> - The fileType definition is used for the file element, a part of the - itemType declaration. It is defined separately so that it can be - referred to from multiple places. - </xsd:documentation> - </xsd:annotation> - <xsd:sequence maxOccurs="1" minOccurs="0"> - <xsd:element name="description" type="tns:descriptionType" - minOccurs="0" maxOccurs="unbounded" /> - <xsd:element maxOccurs="1" minOccurs="0" name="vc-information" - type="tns:informationType" nillable="true" /> - </xsd:sequence> - <xsd:attribute name="path" type="xsd:string" use="required" /> - <xsd:attribute name="revision" type="tns:versionString" use="optional"/> - <xsd:attribute name="author" type="xsd:NMTOKEN" use="optional" /> - <xsd:attribute name="action" use="optional"> - <xsd:simpleType> - <xsd:restriction base="xsd:NMTOKEN"> - <xsd:enumeration value="ADD" /> - <xsd:enumeration value="DELETE" /> - <xsd:enumeration value="RESTORE" /> - <xsd:enumeration value="MOVE" /> - </xsd:restriction> - </xsd:simpleType> - </xsd:attribute> - <xsd:attribute name="note" type="xsd:string" use="optional" /> - </xsd:complexType> - - <xsd:element id="file" name="file" nillable="true" type="tns:fileType"> - <xsd:annotation> - <xsd:documentation> - A file element contains a single block representing a fileType. - </xsd:documentation> - </xsd:annotation> - <xsd:unique name="fileDescriptionLangConstraint"> - <xsd:selector xpath="tns:description" /> - <xsd:field xpath="@lang" /> - </xsd:unique> - </xsd:element> - - <xsd:complexType id="itemType" name="itemType"> - <xsd:annotation> - <xsd:documentation> - These element blocks define a single change-item within the scope of a - given release. A change-item consists of one or more files that were - affected, and a description of the change itself. - </xsd:documentation> - </xsd:annotation> - <xsd:sequence> - <xsd:element maxOccurs="1" minOccurs="0" name="vc-information" - type="tns:informationType" nillable="true" /> - <xsd:choice minOccurs="1" maxOccurs="1"> - <xsd:element ref="tns:file" /> - <xsd:element name="fileset" nillable="false"> - <xsd:complexType> - <xsd:sequence> - <xsd:element maxOccurs="1" minOccurs="0" name="vc-information" - type="tns:informationType" nillable="true" /> - <xsd:element maxOccurs="unbounded" minOccurs="1" ref="tns:file" /> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - </xsd:choice> - <xsd:element name="description" type="tns:descriptionType" - minOccurs="1" maxOccurs="unbounded" /> - </xsd:sequence> - <xsd:attribute name="id" type="xsd:ID" /> - </xsd:complexType> - - <xsd:element id="item" name="item" nillable="false" type="tns:itemType"> - <xsd:annotation> - <xsd:documentation> - An item element contains a single block representing an itemType. - </xsd:documentation> - </xsd:annotation> - <xsd:unique name="itemDescriptionLangConstraint"> - <xsd:selector xpath="tns:description" /> - <xsd:field xpath="@lang" /> - </xsd:unique> - </xsd:element> - - <xsd:complexType id="releaseType" name="releaseType"> - <xsd:annotation> - <xsd:documentation> - The release is the primary piece of information that a changelog - collects and organizes. A release contains an optional description, - followed by one or more item blocks. The release element is also the - greatest user of attributes besides the file element. A release element - must have at least a "version" attribute, uniquely identifying the - release itself. Additionally, it may have "tag" to associate it with - a release-system tag and "date" to specify the date the release was - created. - </xsd:documentation> - </xsd:annotation> - <xsd:sequence> - <xsd:element name="description" type="tns:descriptionType" - minOccurs="0" maxOccurs="unbounded" /> - <xsd:element maxOccurs="unbounded" minOccurs="0" name="information" - type="tns:informationType" nillable="true" /> - <xsd:element maxOccurs="1" minOccurs="0" name="vc-information" - type="tns:informationType" nillable="true" /> - <xsd:element maxOccurs="unbounded" minOccurs="1" ref="tns:item" /> - </xsd:sequence> - <xsd:attribute name="version" type="xsd:token" use="required" /> - <xsd:attribute name="tag" type="xsd:NMTOKEN" /> - <xsd:attribute name="date" type="xsd:token" use="required" /> <!-- type="xsd:dateTime" --> - </xsd:complexType> - - <xsd:element id="release" name="release" nillable="false" - type="tns:releaseType"> - <xsd:annotation> - <xsd:documentation> - </xsd:documentation> - </xsd:annotation> - <xsd:unique name="releaseDescriptionLangConstraint"> - <xsd:selector xpath="tns:description" /> - <xsd:field xpath="@lang" /> - </xsd:unique> - </xsd:element> - - <xsd:element id="changelog" name="changelog" nillable="false"> - <xsd:annotation> - <xsd:documentation> - The changelog element is intended as the document root element. It - contains an overview element (identical in structure to the description - element, but named differently to prevent collision in XPath queries) - and one or more release blocks. - </xsd:documentation> - </xsd:annotation> - <xsd:complexType> - <xsd:sequence> - <xsd:element maxOccurs="unbounded" minOccurs="1" name="description" - nillable="false" type="tns:descriptionType" /> - <xsd:element maxOccurs="unbounded" minOccurs="0" name="information" - type="tns:informationType" nillable="true" /> - <xsd:element maxOccurs="1" minOccurs="0" name="vc-information" - type="tns:informationType" nillable="true" /> - <xsd:element maxOccurs="unbounded" minOccurs="1" ref="tns:release" /> - </xsd:sequence> - </xsd:complexType> - <xsd:unique name="changelogDescriptionLangConstraint"> - <xsd:selector xpath="tns:description" /> - <xsd:field xpath="@lang" /> - </xsd:unique> - </xsd:element> - -</xsd:schema> - diff --git a/test/schemas/choice_0.xml b/test/schemas/choice_0.xml deleted file mode 100644 index 677b039..0000000 --- a/test/schemas/choice_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<doc> -<a/> -</doc> diff --git a/test/schemas/choice_0.xsd b/test/schemas/choice_0.xsd deleted file mode 100644 index 1491b6b..0000000 --- a/test/schemas/choice_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="doc"> - <xs:complexType> - <xs:sequence> - <xs:choice minOccurs="1" maxOccurs="1"> - <xs:element name="a"/> - <xs:element name="b"/> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/choice_1.xml b/test/schemas/choice_1.xml deleted file mode 100644 index d5c0dd1..0000000 --- a/test/schemas/choice_1.xml +++ /dev/null @@ -1,3 +0,0 @@ -<doc> -<b/> -</doc> diff --git a/test/schemas/choice_1.xsd b/test/schemas/choice_1.xsd deleted file mode 100644 index 00614d0..0000000 --- a/test/schemas/choice_1.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="doc"> - <xs:complexType> - <xs:sequence> - <xs:choice minOccurs="0" maxOccurs="1"> - <xs:element name="a"/> - <xs:element name="b"/> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/choice_2.xml b/test/schemas/choice_2.xml deleted file mode 100644 index 7b27f17..0000000 --- a/test/schemas/choice_2.xml +++ /dev/null @@ -1,4 +0,0 @@ -<doc> -<a/> -<b/> -</doc> diff --git a/test/schemas/choice_2.xsd b/test/schemas/choice_2.xsd deleted file mode 100644 index 9f2b094..0000000 --- a/test/schemas/choice_2.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="doc"> - <xs:complexType> - <xs:sequence> - <xs:choice minOccurs="1" maxOccurs="3"> - <xs:element name="a"/> - <xs:element name="b"/> - </xs:choice> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/choice_3.xml b/test/schemas/choice_3.xml deleted file mode 100644 index 0358109..0000000 --- a/test/schemas/choice_3.xml +++ /dev/null @@ -1,4 +0,0 @@ -<doc> -<a/> -<a/> -</doc> diff --git a/test/schemas/choice_4.xml b/test/schemas/choice_4.xml deleted file mode 100644 index 636923c..0000000 --- a/test/schemas/choice_4.xml +++ /dev/null @@ -1,2 +0,0 @@ -<doc> -</doc> diff --git a/test/schemas/choice_5.xml b/test/schemas/choice_5.xml deleted file mode 100644 index 3345a68..0000000 --- a/test/schemas/choice_5.xml +++ /dev/null @@ -1,6 +0,0 @@ -<doc> -<a/> -<b/> -<a/> -</doc> - diff --git a/test/schemas/choice_6.xml b/test/schemas/choice_6.xml deleted file mode 100644 index 394153d..0000000 --- a/test/schemas/choice_6.xml +++ /dev/null @@ -1,7 +0,0 @@ -<doc> -<a/> -<b/> -<a/> -<a/> -</doc> - diff --git a/test/schemas/cos-ct-extends-1-3_0.xml b/test/schemas/cos-ct-extends-1-3_0.xml deleted file mode 100644 index a0b8a59..0000000 --- a/test/schemas/cos-ct-extends-1-3_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- ---> -<foo xmlns="http://FOO" xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO cos-ct-extends-1-3_0.xsd"> - <bar.A foo:bar="o"/> - <bar.B foo:bar="o"/> -</foo> diff --git a/test/schemas/cos-ct-extends-1-3_0.xsd b/test/schemas/cos-ct-extends-1-3_0.xsd deleted file mode 100644 index 7655a8e..0000000 --- a/test/schemas/cos-ct-extends-1-3_0.xsd +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- - Schema Component Constraint: Derivation Valid (Extension) - - 1.3 If it has an {attribute wildcard}, the complex type definition must - also have one, and the base type definition's {attribute wildcard}'s - {namespace constraint} must be a subset of the complex type definition's - {attribute wildcard}'s {namespace constraint}, as defined by Wildcard Subset (§3.10.6). ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" - elementFormDefault="qualified"> - - <element name="foo"> - <complexType> - <sequence> - <element name="bar.A" type="foo:type.A" /> - <element name="bar.B" type="foo:type.B" /> - </sequence> - </complexType> - </element> - - <complexType name="type.A"> - <complexContent> - <!-- This is OK, since the complete wildcard - is the wildcard of the base type. --> - <extension base="foo:base.type.A" /> - </complexContent> - </complexType> - - <complexType name="base.type.A"> - <anyAttribute namespace="##any" processContents="skip" /> - </complexType> - - <complexType name="type.B"> - <complexContent> - <extension base="foo:base.type.B"> - <!-- This is OK, since the complete wildcard is a union - of "##any" and "http://FOO" = "##any". Thus the complete - wildcard is equal to that one in the base class. --> - <anyAttribute namespace="http://FOO" processContents="skip" /> - </extension> - </complexContent> - </complexType> - - <complexType name="base.type.B"> - <anyAttribute namespace="##any" processContents="skip" /> - </complexType> - -</schema> diff --git a/test/schemas/cos-st-restricts-1-2-err_0.xml b/test/schemas/cos-st-restricts-1-2-err_0.xml deleted file mode 100644 index 6f60e5b..0000000 --- a/test/schemas/cos-st-restricts-1-2-err_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO cos-st-restricts-1-2-err_0.xsd">1 2</foo> diff --git a/test/schemas/cos-st-restricts-1-2-err_0.xsd b/test/schemas/cos-st-restricts-1-2-err_0.xsd deleted file mode 100644 index 9d3fabf..0000000 --- a/test/schemas/cos-st-restricts-1-2-err_0.xsd +++ /dev/null @@ -1,30 +0,0 @@ -<?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:type.A"/> - - <simpleType name="type.A"> - <restriction> - <simpleType> - <list itemType="integer"/> - </simpleType> - <length value="3"/> - </restriction> - </simpleType> - - <!--restriction base="foo:type.base.A"> - - </restriction--> - - <simpleType name="type.base.A"> - <restriction> - <simpleType> - <list itemType="integer"/> - </simpleType> - </restriction> - </simpleType> - - - -</schema> diff --git a/test/schemas/ct-sc-nobase_0.xml b/test/schemas/ct-sc-nobase_0.xml deleted file mode 100644 index 8678410..0000000 --- a/test/schemas/ct-sc-nobase_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO ct-sc-nobase_0.xsd"/>
\ No newline at end of file diff --git a/test/schemas/ct-sc-nobase_0.xsd b/test/schemas/ct-sc-nobase_0.xsd deleted file mode 100644 index a00e941..0000000 --- a/test/schemas/ct-sc-nobase_0.xsd +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO"> - - <xsd:complexType name="base"> - <xsd:simpleContent> - <xsd:extension base="xsd:string"/> - </xsd:simpleContent> - </xsd:complexType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:simpleContent> - <xsd:restriction base="foo:base"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"/> - </xsd:simpleType> - </xsd:restriction> - </xsd:simpleContent> - </xsd:complexType> - </xsd:element> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/date_0.xml b/test/schemas/date_0.xml deleted file mode 100644 index 6c677ed..0000000 --- a/test/schemas/date_0.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0"?> -<date> - <time>01:02:59</time> - <time1>01:02:59</time1> - <time2>12:59:59.0001</time2> - <time2>12:00:00</time2> - <date1>1996-05-20</date1> - <date1>2002-05-18</date1> - <date2>1996-05-19Z</date2> - <date2>2002-05-19Z</date2> - <date1>2002-05-18Z</date1> - <date1>2000-05-18Z</date1> - <dt1>2000-05-18T00:00:00</dt1> - <dt2>2002-05-19T21:30:00.99</dt2> - <dt1>1969-12-31T23:00:01-01:00</dt1> - <hol>--01-01</hol> - <hol>--07-04</hol> - <hol>--12-25</hol> - <year1>2002</year1> - <yearmon1>2002-05</yearmon1> - <mon1>--05Z</mon1> - <day1>---31</day1> - <monthday1>--02-28Z</monthday1> - <monthday1>--12-31-06:00</monthday1> - <dt2>2003-04-30T18:00:00-06:00</dt2> -</date> diff --git a/test/schemas/date_0.xsd b/test/schemas/date_0.xsd deleted file mode 100644 index 7247394..0000000 --- a/test/schemas/date_0.xsd +++ /dev/null @@ -1,122 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - Testing date/time data types - </xsd:documentation> - </xsd:annotation> - <xsd:element name="date"> - <xsd:complexType> - <xsd:sequence> - <xsd:choice minOccurs="1" maxOccurs="unbounded"> - <xsd:element name="time" type="xsd:time"/> - <xsd:element name="time1"> - <xsd:simpleType> - <xsd:restriction base="xsd:time"> - <xsd:maxInclusive value="23:59:59.9999999"/> - <xsd:minInclusive value="00:00:00"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="time2"> - <xsd:simpleType> - <xsd:restriction base="xsd:time"> - <xsd:maxInclusive value="13:50:50"/> - <xsd:minInclusive value="12:00:00"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="date1"> - <xsd:simpleType> - <xsd:restriction base="xsd:date"> - <xsd:maxExclusive value="2002-05-19"/> - <xsd:minExclusive value="1996-05-19"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="date2"> - <xsd:simpleType> - <xsd:restriction base="xsd:date"> - <xsd:maxInclusive value="2002-05-19Z"/> - <xsd:minInclusive value="1996-05-19Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="dt1"> - <xsd:simpleType> - <xsd:restriction base="xsd:dateTime"> - <xsd:maxExclusive value="2002-01-01T00:00:00Z"/> - <xsd:minExclusive value="1970-01-01T00:00:00Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="dt2"> - <xsd:simpleType> - <xsd:restriction base="xsd:dateTime"> - <xsd:maxInclusive value="2003-05-01T00:00:00Z"/> - <xsd:minInclusive value="1996-05-19T21:30:00Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="hol" type="holidays"/> - <xsd:element name="year1"> - <xsd:simpleType> - <xsd:restriction base="xsd:gYear"> - <xsd:maxInclusive value="2003Z"/> - <xsd:minInclusive value="1996Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="yearmon1"> - <xsd:simpleType> - <xsd:restriction base="xsd:gYearMonth"> - <xsd:maxInclusive value="2003-05Z"/> - <xsd:minInclusive value="1996-05Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="mon1"> - <xsd:simpleType> - <xsd:restriction base="xsd:gMonth"> - <xsd:minInclusive value="--01Z"/> - <xsd:maxInclusive value="--05Z"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="day1"> - <xsd:simpleType> - <xsd:restriction base="xsd:gDay"> - <xsd:minInclusive value="---28"/> - <xsd:maxInclusive value="---31"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="monthday1" type="xsd:gMonthDay"/> - </xsd:choice> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:simpleType name='holidays'> - <xsd:annotation> - <xsd:documentation>some US holidays</xsd:documentation> - </xsd:annotation> - <xsd:restriction base='xsd:gMonthDay'> - <xsd:enumeration value='--01-01'> - <xsd:annotation> - <xsd:documentation>New Year's day</xsd:documentation> - </xsd:annotation> - </xsd:enumeration> - <xsd:enumeration value='--07-04'> - <xsd:annotation> - <xsd:documentation>4th of July</xsd:documentation> - </xsd:annotation> - </xsd:enumeration> - <xsd:enumeration value='--12-25'> - <xsd:annotation> - <xsd:documentation>Christmas</xsd:documentation> - </xsd:annotation> - </xsd:enumeration> - </xsd:restriction> - </xsd:simpleType> -</xsd:schema> - diff --git a/test/schemas/decimal-1.xml b/test/schemas/decimal-1.xml deleted file mode 100644 index 4568ff1..0000000 --- a/test/schemas/decimal-1.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0"?> -<!-- test the values: - - BAD - + BAD - 1. - .1 - 0. - .0 - - 1 BAD - + 1 BAD - . BAD - 000 ! - --> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="decimal-1.xsd"> - <!-- The good ones. --> - <val> 0. </val> - <val> .0 </val> - <val> .10 </val> - <val> 01. </val> - <val> 000 </val> - <val>123456789012345678</val> - <val>-123456789012345678</val> - <val>0.123456789012345678</val> - <val>-0.123456789012345678</val> - <!-- The bad ones. --> - <val>.</val> - <val>-</val> - <val>+</val> - <val>*</val> - <val>- 1</val> - <val>+ 1</val> - <val>+ 0</val> - <val>- 0</val> - <!--ref>0.0</ref--> -</foo> diff --git a/test/schemas/decimal-1.xsd b/test/schemas/decimal-1.xsd deleted file mode 100644 index 830ca3e..0000000 --- a/test/schemas/decimal-1.xsd +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:simpleType name="myDecimal"> - <xsd:restriction base="xsd:decimal"> - <xsd:totalDigits value="18"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> - <xsd:element name="ref" type="myDecimal" minOccurs="0"/> - </xsd:sequence> - </xsd:complexType> - - <!--xsd:key name="myKey"> - <xsd:selector xpath="val"/> - <xsd:field xpath="."/> - </xsd:key> - - <xsd:keyref name="myKeyRef" refer="myKey"> - <xsd:selector xpath="ref"/> - <xsd:field xpath="."/> - </xsd:keyref--> - </xsd:element> - -</xsd:schema> diff --git a/test/schemas/decimal-1_0.xml b/test/schemas/decimal-1_0.xml deleted file mode 100644 index 7bf3719..0000000 --- a/test/schemas/decimal-1_0.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0"?> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="decimal-1.xsd"> - <!-- The good ones. --> - <val> 0. </val> - <val> .0 </val> - <val> .10 </val> - <val> 01. </val> - <val> 000 </val> - <val>123456789012345678</val> - <val>-123456789012345678</val> - <val>0.123456789012345678</val> - <val>-0.123456789012345678</val> - <!-- The bad ones. --> - <val>.</val> - <val>-</val> - <val>+</val> - <val>*</val> - <val>- 1</val> - <val>+ 1</val> - <val>+ 0</val> - <val>- 0</val> -</foo> diff --git a/test/schemas/decimal-1_1.xsd b/test/schemas/decimal-1_1.xsd deleted file mode 100644 index f598c86..0000000 --- a/test/schemas/decimal-1_1.xsd +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:simpleType name="myDecimal"> - <xsd:restriction base="xsd:decimal"> - <xsd:totalDigits value="18"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - - </xsd:element> - -</xsd:schema> diff --git a/test/schemas/decimal-2_0.xml b/test/schemas/decimal-2_0.xml deleted file mode 100644 index 166f781..0000000 --- a/test/schemas/decimal-2_0.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="decimal-2.xsd"> - <!-- The good ones. --> - <val>0.1</val> - <val>0.001</val> - <val>0.0</val> - <val>-0.0</val> - <val>1</val> - <!-- The bad ones. --> - <val>-0.1</val> - <val>-1</val> -</foo> diff --git a/test/schemas/decimal-2_1.xsd b/test/schemas/decimal-2_1.xsd deleted file mode 100644 index cc71670..0000000 --- a/test/schemas/decimal-2_1.xsd +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:simpleType name="myDecimal"> - <xsd:restriction base="xsd:decimal"> - <xsd:minInclusive value="0"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - -</xsd:schema> diff --git a/test/schemas/decimal-3_0.xml b/test/schemas/decimal-3_0.xml deleted file mode 100644 index fec1ed3..0000000 --- a/test/schemas/decimal-3_0.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0"?> -<foo - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="decimal-3.xsd"> - <!-- The good ones. --> - <val>0.12</val> - <val>0.0</val> - <val>0.02</val> - <val>12</val> - <val>1.2</val> - <!-- The bad ones. --> - <val>0.123</val> - <val>0.023</val> - <val>123</val> - <val>12.3</val> -</foo> - diff --git a/test/schemas/decimal-3_1.xsd b/test/schemas/decimal-3_1.xsd deleted file mode 100644 index 23ae8f7..0000000 --- a/test/schemas/decimal-3_1.xsd +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:simpleType name="myDecimal"> - <xsd:restriction base="xsd:decimal"> - <xsd:totalDigits value="2"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - -</xsd:schema> diff --git a/test/schemas/derivation-ok-extension-err_0.xml b/test/schemas/derivation-ok-extension-err_0.xml deleted file mode 100644 index ccfa348..0000000 --- a/test/schemas/derivation-ok-extension-err_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO derivation-ok-extension-err_0.xsd" - barA_1="o" barA_2="o"/> - - - - diff --git a/test/schemas/derivation-ok-extension-err_0.xsd b/test/schemas/derivation-ok-extension-err_0.xsd deleted file mode 100644 index 89be581..0000000 --- a/test/schemas/derivation-ok-extension-err_0.xsd +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://FOO" targetNamespace="http://FOO"> - - <xs:element name="foo"> - <xs:complexType> - <xs:complexContent> - <xs:extension base="typeA"> - <xs:attribute name="barA_1" type="xs:string" use="optional"/> - <xs:attribute name="barA_2" type="xs:string" use="required"/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - </xs:element> - - <xs:complexType name="typeA"> - <xs:attribute name="barA_1" type="xs:string" use="required"/> - </xs:complexType> - -</xs:schema> - - diff --git a/test/schemas/derivation-ok-extension_0.xml b/test/schemas/derivation-ok-extension_0.xml deleted file mode 100644 index 0cf871e..0000000 --- a/test/schemas/derivation-ok-extension_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO derivation-ok-extension_0.xsd" - barA_1="o" barA_2="o"/> - - - - diff --git a/test/schemas/derivation-ok-extension_0.xsd b/test/schemas/derivation-ok-extension_0.xsd deleted file mode 100644 index b99065b..0000000 --- a/test/schemas/derivation-ok-extension_0.xsd +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://FOO" targetNamespace="http://FOO"> - - <xs:element name="foo"> - <xs:complexType> - <xs:complexContent> - <xs:extension base="typeA"> - <xs:attribute name="barA_2" type="xs:string" use="required"/> - <xs:attribute name="barA_1" type="xs:string" use="prohibited"/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - </xs:element> - - <xs:complexType name="typeA"> - <xs:attribute name="barA_1" type="xs:string" use="required"/> - </xs:complexType> - -</xs:schema> - - diff --git a/test/schemas/derivation-ok-restriction-2-1-1_0.xml b/test/schemas/derivation-ok-restriction-2-1-1_0.xml deleted file mode 100644 index a92fb0c..0000000 --- a/test/schemas/derivation-ok-restriction-2-1-1_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO derivation-ok-restriction-2-1-1_0.xsd"/> - - - - diff --git a/test/schemas/derivation-ok-restriction-2-1-1_0.xsd b/test/schemas/derivation-ok-restriction-2-1-1_0.xsd deleted file mode 100644 index e91fe43..0000000 --- a/test/schemas/derivation-ok-restriction-2-1-1_0.xsd +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://FOO" targetNamespace="http://FOO"> - - <xs:element name="foo"> - <xs:complexType> - <xs:complexContent> - <xs:restriction base="typeA"> - <xs:attribute name="barA_1" type="xs:string" use="optional"/> - <!-- OK --> - <xs:attribute name="barA_2" type="xs:string" use="required"/> - <!-- OK --> - <xs:attribute name="barA_3" type="xs:string" use="prohibited"/> - <!-- OK --> - - <xs:attribute name="barB_1" type="xs:string" use="optional"/> - <!-- 2.1.1 inconsistent ( OR 3 ) --> - <xs:attribute name="barB_2" type="xs:string" use="required"/> - <!-- OK --> - <xs:attribute name="barB_3" type="xs:string" use="prohibited"/> - <!-- 3 --> - - <xs:attribute name="barC_1" type="xs:string" use="optional"/> - <!-- 2.2 no match in base --> - <xs:attribute name="barC_2" type="xs:string" use="required"/> - <!-- 2.2 no match in base --> - <xs:attribute name="barC_3" type="xs:string" use="prohibited"/> - <!-- OK --> - - <xs:attribute name="barD_1" type="xs:string" use="optional"/> - <!-- 2.2 no match in base --> - <xs:attribute name="barD_2" type="xs:string" use="required"/> - <!-- 2.2 no match in base --> - <xs:attribute name="barD_3" type="xs:string" use="prohibited"/> - <!-- OK --> - - </xs:restriction> - </xs:complexContent> - </xs:complexType> - </xs:element> - - <xs:complexType name="typeA"> - <xs:attribute name="barA_1" type="xs:string" use="optional"/> - <xs:attribute name="barA_2" type="xs:string" use="optional"/> - <xs:attribute name="barA_3" type="xs:string" use="optional"/> - <xs:attribute name="barB_1" type="xs:string" use="required"/> - <xs:attribute name="barB_2" type="xs:string" use="required"/> - <xs:attribute name="barB_3" type="xs:string" use="required"/> - <xs:attribute name="barC_1" type="xs:string" use="prohibited"/> - <xs:attribute name="barC_2" type="xs:string" use="prohibited"/> - <xs:attribute name="barC_3" type="xs:string" use="prohibited"/> - </xs:complexType> - -</xs:schema> - - diff --git a/test/schemas/derivation-ok-restriction-4-1-err_0.xml b/test/schemas/derivation-ok-restriction-4-1-err_0.xml deleted file mode 100644 index 6021eb9..0000000 --- a/test/schemas/derivation-ok-restriction-4-1-err_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO" xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO derivation-ok-restriction-4-1-err_0.xsd"> - <bar.A /> - <bar.B /> - <bar.C /> -</foo> diff --git a/test/schemas/derivation-ok-restriction-4-1-err_0.xsd b/test/schemas/derivation-ok-restriction-4-1-err_0.xsd deleted file mode 100644 index c7400ac..0000000 --- a/test/schemas/derivation-ok-restriction-4-1-err_0.xsd +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- - Schema Component Constraint: Derivation Valid (Restriction, Complex) - - 4 If there is an {attribute wildcard}, all of the following must be true: - - 4.1 The {base type definition} must also have one. - - 4.2 The complex type definition's {attribute wildcard}'s {namespace constraint} - must be a subset of the {base type definition}'s {attribute wildcard}'s {namespace - constraint}, as defined by Wildcard Subset (§3.10.6). - - 4.3 Unless the {base type definition} is the ·ur-type definition·, the complex type - definition's {attribute wildcard}'s {process contents} must be identical to or stronger - than the {base type definition}'s {attribute wildcard}'s {process contents}, - where strict is stronger than lax is stronger than skip. ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" - > - - <element name="foo"> - <complexType> - <sequence> - <element name="bar.A" type="foo:type.A" /> - <element name="bar.B" type="foo:type.B" /> - <element name="bar.C" type="foo:type.C" /> - </sequence> - </complexType> - </element> - - <complexType name="type.A"> - <complexContent> - <restriction base="foo:base.type.A"> - <anyAttribute namespace="##any" processContents="skip" /> - </restriction> - </complexContent> - </complexType> - - <complexType name="base.type.A"> - <attribute name="bar" type="string"/> - </complexType> - - <complexType name="type.B"> - <complexContent> - <restriction base="foo:base.type.B"> - <anyAttribute namespace="##any" processContents="skip" /> - </restriction> - </complexContent> - </complexType> - - <complexType name="base.type.B"> - <anyAttribute namespace="http://FOO" processContents="skip" /> - </complexType> - - <complexType name="type.C"> - <complexContent> - <restriction base="foo:base.type.C"> - <anyAttribute namespace="##any" processContents="skip" /> - </restriction> - </complexContent> - </complexType> - - <complexType name="base.type.C"> - <anyAttribute namespace="##any" processContents="lax" /> - </complexType> - -</schema> diff --git a/test/schemas/derivation-restriction-anyAttr_0.xml b/test/schemas/derivation-restriction-anyAttr_0.xml deleted file mode 100644 index 66e7d3f..0000000 --- a/test/schemas/derivation-restriction-anyAttr_0.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo - xmlns:f="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:bar="http://BAR" - xsi:noNamespaceSchemaLocation="file:///c:/dev/libxml2/patches/2004-05-17/derivation-restriction-anyAttr_0.xsd" - > - <bar barA="ooo" /> -</foo> - - - - diff --git a/test/schemas/derivation-restriction-anyAttr_0.xsd b/test/schemas/derivation-restriction-anyAttr_0.xsd deleted file mode 100644 index f72c316..0000000 --- a/test/schemas/derivation-restriction-anyAttr_0.xsd +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - elementFormDefault="unqualified"> - - <xs:element name="foo"> - <xs:complexType> - <xs:sequence> - <xs:element name="bar" type="typeA"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:attributeGroup name="attrGrA"> - <xs:anyAttribute namespace="##targetNamespace"/> - </xs:attributeGroup> - - <xs:complexType name="typeA"> - <xs:attributeGroup ref="attrGrA" /> - <xs:anyAttribute namespace="##targetNamespace" processContents="lax"/> - </xs:complexType> - -</xs:schema> - - diff --git a/test/schemas/derivation-restriction-anyType.xml b/test/schemas/derivation-restriction-anyType.xml deleted file mode 100644 index c86c50a..0000000 --- a/test/schemas/derivation-restriction-anyType.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO file:///c:/dev/libxml2/patches/2004-05-17/derivation-restriction-anyType.xsd" - barA_2="xxx"/> - - - - diff --git a/test/schemas/derivation-restriction-anyType.xsd b/test/schemas/derivation-restriction-anyType.xsd deleted file mode 100644 index ec217d2..0000000 --- a/test/schemas/derivation-restriction-anyType.xsd +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://FOO" targetNamespace="http://FOO"> - - <xs:element name="foo"> - <xs:complexType> - <xs:complexContent> - <xs:extension base="xs:anyType"> - <xs:attribute name="barA_1" type="xs:string" use="optional"/> - <!-- OK --> - <xs:attribute name="barA_2" type="xs:string" use="required"/> - <!-- OK --> - <xs:attribute name="barA_3" type="xs:string" use="prohibited"/> - <!-- OK --> - </xs:extension> - </xs:complexContent> - </xs:complexType> - </xs:element> - -</xs:schema> - - diff --git a/test/schemas/deter0_0.xml b/test/schemas/deter0_0.xml deleted file mode 100644 index 0ea1a41..0000000 --- a/test/schemas/deter0_0.xml +++ /dev/null @@ -1,5 +0,0 @@ -<book> - <odd-page>first page</odd-page> - <even-page>second page</even-page> - <odd-page>third page</odd-page> -</book> diff --git a/test/schemas/deter0_0.xsd b/test/schemas/deter0_0.xsd deleted file mode 100644 index 8b5da69..0000000 --- a/test/schemas/deter0_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="odd-page" type="xs:string"/> - <xs:element name="even-page" type="xs:string"/> - <xs:element name="book"> - <xs:complexType> - <xs:sequence> - <xs:sequence minOccurs="0" maxOccurs="unbounded"> - <xs:element ref="odd-page"/> - <xs:element ref="even-page"/> - </xs:sequence> - <xs:element ref="odd-page" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/dur_0.xml b/test/schemas/dur_0.xml deleted file mode 100644 index be84943..0000000 --- a/test/schemas/dur_0.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<duration> - <second1>PT0.9S</second1> - <second2>PT0.1S</second2> - <second2>PT0.999999S</second2> - <month1>P0Y27D</month1> - <month1>P27DT23H59M59S</month1> - <month2>P0Y</month2> - <year1>P367DT23H59M59S</year1> - <year1>P13M</year1> - <year2>P12M</year2> - <month3>PT86399S</month3> -</duration> diff --git a/test/schemas/dur_0.xsd b/test/schemas/dur_0.xsd deleted file mode 100644 index 374c038..0000000 --- a/test/schemas/dur_0.xsd +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - Testing duration data types - </xsd:documentation> - </xsd:annotation> - <xsd:element name="duration"> - <xsd:complexType> - <xsd:sequence> - <xsd:choice minOccurs="1" maxOccurs="unbounded"> - <xsd:element name="second1"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxExclusive value="PT1S"/> - <xsd:minExclusive value="PT0.1S"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="second2"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxInclusive value="PT1S"/> - <xsd:minInclusive value="PT0.1S"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="month1"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxExclusive value="P1M"/> - <xsd:minExclusive value="P0M"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="month2"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxInclusive value="P1M"/> - <xsd:minInclusive value="P0M"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="month3" type="MSD"/> - <xsd:element name="year1"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxExclusive value="P2Y"/> - <xsd:minExclusive value="P1Y"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="year2"> - <xsd:simpleType> - <xsd:restriction base="xsd:duration"> - <xsd:maxInclusive value="P2Y"/> - <xsd:minInclusive value="P1Y"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - </xsd:choice> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:simpleType name="MSD"> - <xsd:restriction base="xsd:duration"> - <xsd:maxExclusive value="PT24H"/> - <xsd:minExclusive value="-PT24H"/> - </xsd:restriction> - </xsd:simpleType> -</xsd:schema> - diff --git a/test/schemas/elem0_0.xml b/test/schemas/elem0_0.xml deleted file mode 100644 index f741c58..0000000 --- a/test/schemas/elem0_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?>
-<doc/>
-
diff --git a/test/schemas/elem0_0.xsd b/test/schemas/elem0_0.xsd deleted file mode 100644 index 2c5bf5f..0000000 --- a/test/schemas/elem0_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation> - Testing min and max occurance attributes on element - </xsd:documentation> - </xsd:annotation> - - <xsd:element name="doc"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name='a' minOccurs='0' maxOccurs='3'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/element-err_0.xml b/test/schemas/element-err_0.xml deleted file mode 100644 index 4f43fd9..0000000 --- a/test/schemas/element-err_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO element-err_0.xsd"/>
\ No newline at end of file diff --git a/test/schemas/element-err_0.xsd b/test/schemas/element-err_0.xsd deleted file mode 100644 index 92604c8..0000000 --- a/test/schemas/element-err_0.xsd +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" - xmlns:goo="http://GOO"> - - <xsd:element name="bar" type="xsd:string"/> - <xsd:element type="xsd:string"/> - <xsd:element name="foo" - ref="foo:bar" minOccurs="3" maxOccurs="2" - abstract="true" block="flute" - form="qualified" id="b12" nillable="true" - substitutionGroup="foo:bar" - default="Jimi" fixed="Hendrix" final="fantasy"> - - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="foo:bar" name="myomy" minOccurs="3" - maxOccurs="2" abstract="true" block="flute" - form="qualified" id="b13" nillable="true" - substitutionGroup="foo:bar" type="xsd:string" - default="Jimi" fixed="Hendrix" final="fantasy"> - <xsd:complexType/> - <xsd:simpleType/> - </xsd:element> - <xsd:element name="myomy" maxOccurs="0" - abstract="true" block="flute" - form="qualified" id="b14" nillable="true" - substitutionGroup="foo:bar" type="xsd:string" - default="Jimi" fixed="Hendrix" final="fantasy"> - <xsd:complexType/> - <xsd:simpleType/> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - - </xsd:element> - -</xsd:schema> diff --git a/test/schemas/element-minmax-err_0.xml b/test/schemas/element-minmax-err_0.xml deleted file mode 100644 index 62c5ec1..0000000 --- a/test/schemas/element-minmax-err_0.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="element-minmax-err_0.xsd"> - <bar/> -</foo>
\ No newline at end of file diff --git a/test/schemas/element-minmax-err_0.xsd b/test/schemas/element-minmax-err_0.xsd deleted file mode 100644 index 3384e7c..0000000 --- a/test/schemas/element-minmax-err_0.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="bar" minOccurs="1" maxOccurs="0"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/empty-value_0.xml b/test/schemas/empty-value_0.xml deleted file mode 100644 index e7058e2..0000000 --- a/test/schemas/empty-value_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<element1/> diff --git a/test/schemas/empty-value_1.xml b/test/schemas/empty-value_1.xml deleted file mode 100644 index 674ba86..0000000 --- a/test/schemas/empty-value_1.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<element2 att="test"/> diff --git a/test/schemas/empty-value_1.xsd b/test/schemas/empty-value_1.xsd deleted file mode 100644 index 5e17d5f..0000000 --- a/test/schemas/empty-value_1.xsd +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - elementFormDefault="qualified" - attributeFormDefault="unqualified"> - <xs:simpleType name="myDouble"> - <xs:union memberTypes="xs:double"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:pattern value="\s*(N/A)?\s*"/> - </xs:restriction> - </xs:simpleType> - </xs:union> - </xs:simpleType> - <xs:element name="element1" type="myDouble"/> - <xs:element name="element2"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="myDouble"> - <xs:attribute name="att" type="xs:string"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/empty_0.xml b/test/schemas/empty_0.xml deleted file mode 100644 index e9906b7..0000000 --- a/test/schemas/empty_0.xml +++ /dev/null @@ -1 +0,0 @@ -<internationalPrice currency="EUR" value="423.46"/> diff --git a/test/schemas/empty_0.xsd b/test/schemas/empty_0.xsd deleted file mode 100644 index 76e5f45..0000000 --- a/test/schemas/empty_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="internationalPrice"> - <xsd:complexType> - <xsd:complexContent> - <xsd:restriction base="xsd:anyType"> - <xsd:attribute name="currency" type="xsd:string"/> - <xsd:attribute name="value" type="xsd:decimal"/> - </xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/empty_1.xsd b/test/schemas/empty_1.xsd deleted file mode 100644 index 2c81c09..0000000 --- a/test/schemas/empty_1.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="internationalPrice"> - <xsd:complexType> - <xsd:attribute name="currency" type="xsd:string"/> - <xsd:attribute name="value" type="xsd:decimal"/> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/extension0_0.xml b/test/schemas/extension0_0.xml deleted file mode 100644 index 60dd348..0000000 --- a/test/schemas/extension0_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<addressee> - <forename>Albert</forename> - <forename>Arnold</forename> - <surname>Gore</surname> - <generation>Jr</generation> -</addressee> diff --git a/test/schemas/extension0_0.xsd b/test/schemas/extension0_0.xsd deleted file mode 100644 index d89751a..0000000 --- a/test/schemas/extension0_0.xsd +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="personName"> - <xs:sequence> - <xs:element name="title" minOccurs="0"/> - <xs:element name="forename" minOccurs="0" maxOccurs="unbounded"/> - <xs:element name="surname"/> - </xs:sequence> - </xs:complexType> - <xs:complexType name="extendedName"> - <xs:complexContent> - <xs:extension base="personName"> - <xs:sequence> - <xs:element name="generation" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - <xs:element name="addressee" type="extendedName"/> -</xs:schema> diff --git a/test/schemas/extension1_0.xml b/test/schemas/extension1_0.xml deleted file mode 100644 index 5c3a0c9..0000000 --- a/test/schemas/extension1_0.xml +++ /dev/null @@ -1 +0,0 @@ -<title lang="fr">salut</title> diff --git a/test/schemas/extension1_0.xsd b/test/schemas/extension1_0.xsd deleted file mode 100644 index 0a11e14..0000000 --- a/test/schemas/extension1_0.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:simpleType name="string255"> - <xs:restriction base="xs:token"> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - <xs:element name="title"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="string255"> - <xs:attribute name="lang" type="xs:language"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/extension1_1.xml b/test/schemas/extension1_1.xml deleted file mode 100644 index 7780cf6..0000000 --- a/test/schemas/extension1_1.xml +++ /dev/null @@ -1 +0,0 @@ -<title langue="fr">salut</title> diff --git a/test/schemas/extension1_2.xml b/test/schemas/extension1_2.xml deleted file mode 100644 index 3d65bb0..0000000 --- a/test/schemas/extension1_2.xml +++ /dev/null @@ -1 +0,0 @@ -<title lang="fr"><salut/></title> diff --git a/test/schemas/extension2_0.xml b/test/schemas/extension2_0.xml deleted file mode 100644 index 202c988..0000000 --- a/test/schemas/extension2_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://myns" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://myns extension2_1.xsd"/> diff --git a/test/schemas/extension2_1.xsd b/test/schemas/extension2_1.xsd deleted file mode 100644 index 0fa88af..0000000 --- a/test/schemas/extension2_1.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://myns" - targetNamespace="http://myns" - elementFormDefault="qualified" - attributeFormDefault="unqualified" - xml:lang="en"> - - <xs:complexType name="dataInlineType"> - <xs:complexContent> - <xs:extension base="xs:anyType"/> - </xs:complexContent> - </xs:complexType> - - <xs:element name="foo" type="dataInlineType"/> - - </xs:schema> diff --git a/test/schemas/facet-unionST-err1_0.xml b/test/schemas/facet-unionST-err1_0.xml deleted file mode 100644 index b47df61..0000000 --- a/test/schemas/facet-unionST-err1_0.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO facet-unionST-err1_0.xsd">tiny</foo> - diff --git a/test/schemas/facet-unionST-err1_0.xsd b/test/schemas/facet-unionST-err1_0.xsd deleted file mode 100644 index 476668b..0000000 --- a/test/schemas/facet-unionST-err1_0.xsd +++ /dev/null @@ -1,27 +0,0 @@ -<?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" type="foo:fooType.B"/> - - <xsd:simpleType name="fooType.B"> - <xsd:restriction base="foo:fooType.A"> - <xsd:enumeration value="medium"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="fooType.A"> - <xsd:union> - <xsd:simpleType> - <xsd:restriction base="xsd:NMTOKEN"> - <xsd:enumeration value="small"/> - <xsd:enumeration value="medium"/> - <xsd:enumeration value="large"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:union> - </xsd:simpleType> - - - -</xsd:schema> diff --git a/test/schemas/facet-whiteSpace_0.xml b/test/schemas/facet-whiteSpace_0.xml deleted file mode 100644 index dba26ca..0000000 --- a/test/schemas/facet-whiteSpace_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO facet-whiteSpace_0.xsd">hmmm - - f f ff f - </foo>
\ No newline at end of file diff --git a/test/schemas/facet-whiteSpace_0.xsd b/test/schemas/facet-whiteSpace_0.xsd deleted file mode 100644 index 83ef142..0000000 --- a/test/schemas/facet-whiteSpace_0.xsd +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" xmlns="http://FOO"> - - <xsd:element name="foo"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:whiteSpace value="replace"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/group0_0.xml b/test/schemas/group0_0.xml deleted file mode 100644 index bf58ba6..0000000 --- a/test/schemas/group0_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<author> - <name>Foo Bar</name> -</author> diff --git a/test/schemas/group0_0.xsd b/test/schemas/group0_0.xsd deleted file mode 100644 index 7dfa393..0000000 --- a/test/schemas/group0_0.xsd +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:group name="name"> - <xs:choice> - <xs:element name="name" type="xs:string"/> - <xs:sequence> - <xs:element name="first-name" type="xs:string"/> - <xs:element name="middle-name" type="xs:string" minOccurs="0"/> - <xs:element name="last-name" type="xs:string"/> - </xs:sequence> - </xs:choice> - </xs:group> - <xs:element name="author"> - <xs:complexType> - <xs:group ref="name"/> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/hexbinary_0.xml b/test/schemas/hexbinary_0.xml deleted file mode 100644 index 9513445..0000000 --- a/test/schemas/hexbinary_0.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<xsd_hexBinary> - <hex>00</hex> - <hex>0123456789ABCDEF</hex> - <hex>abcdef0123456789</hex> - <hex>0123456789abcdef</hex> - <hex>0123456789ABCDEF</hex> - <hex>0123456789abcdef0123456789ABCDEF</hex> - <hex>0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF0123456789abcdef0123456789ABCDEF</hex> - <hex>01234567899876543210</hex> - <hex>00112233445566778899aAbBcCdDeEfF</hex> - <hex>A0B1C2D3E4F5</hex> - <!-- minLength and maxLength --> - <hex2>00</hex2> - <hex2>0000000000000000</hex2> - <hex2>1122334455667788</hex2> - <!-- length --> - <hex3>abcd</hex3> - <hex3>0ed0</hex3> -</xsd_hexBinary> diff --git a/test/schemas/hexbinary_0.xsd b/test/schemas/hexbinary_0.xsd deleted file mode 100644 index 60a6bec..0000000 --- a/test/schemas/hexbinary_0.xsd +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - elementFormDefault="unqualified" - attributeFormDefault="unqualified"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> - Testing hexBinary data types - </xsd:documentation> - </xsd:annotation> - <xsd:element name="xsd_hexBinary"> - <xsd:complexType> - <xsd:sequence> - <xsd:choice minOccurs="1" maxOccurs="unbounded"> - <xsd:element name="hex" type="xsd:hexBinary"/> - <xsd:element name="hex2"> - <xsd:simpleType> - <xsd:restriction base="xsd:hexBinary"> - <xsd:maxLength value="8"/> - <xsd:minLength value="1"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="hex3"> - <xsd:simpleType> - <xsd:restriction base="xsd:hexBinary"> - <xsd:length value="2"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - </xsd:choice> - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema> - diff --git a/test/schemas/hexbinary_1.xml b/test/schemas/hexbinary_1.xml deleted file mode 100644 index 0f34854..0000000 --- a/test/schemas/hexbinary_1.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0"?> -<!-- all (except 2 first) should fail to validate --> -<xsd_hexBinary> - <hex></hex> - <hex/> - <hex>0</hex> - <hex>0123456789ABCDEFGH</hex> - <hex>+abcdef0123456789</hex> - <hex>-0123456789abcdef</hex> - <!-- minLength and maxLength --> - <hex2>112233445566778899</hex2> - <!-- length --> - <hex3>ab</hex3> - <hex3>00fedc</hex3> -</xsd_hexBinary> diff --git a/test/schemas/idc-keyref-err1_0.xml b/test/schemas/idc-keyref-err1_0.xml deleted file mode 100644 index 64a1d0b..0000000 --- a/test/schemas/idc-keyref-err1_0.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<Foo - xmlns="urn:test:foo" - xmlns:foo="urn:test:foo" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="urn:test:foo idc-keyref_1.xsd"> - - <Def> - <Link foo:linkKey="L4"/> - </Def> - - <Ref foo:linkRef="L4"/> - -</Foo>
\ No newline at end of file diff --git a/test/schemas/idc-keyref-err1_1.xsd b/test/schemas/idc-keyref-err1_1.xsd deleted file mode 100644 index 43c769f..0000000 --- a/test/schemas/idc-keyref-err1_1.xsd +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0"?> -<xs:schema - targetNamespace="urn:test:foo" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:foo="urn:test:foo" - elementFormDefault="qualified" - attributeFormDefault="qualified"> - - <xs:element name="Link"> - <xs:complexType> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="linkKey" type="xs:string" use="required"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - </xs:element> - - - <!-- --> - <xs:element name="Foo"> - <xs:complexType> - <xs:sequence> - - <xs:element name="Def"> - <xs:complexType> - <xs:sequence> - <xs:element ref="foo:Link"/> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="Ref"> - <xs:complexType> - <xs:attribute name="linkRef" use="required"/> - </xs:complexType> - </xs:element> - - </xs:sequence> - </xs:complexType> - - <xs:key name="LinkKey"> - <xs:selector xpath=".//foo:Link | .//foo:Link"/> - <xs:field xpath="@foo:linkKey"/> - </xs:key> - - <xs:keyref name="LinkKeyRef" refer="foo:LinkKey"> - <xs:selector xpath=".//foo:Ref"/> - <xs:field xpath="@foo:linkRef"/> - </xs:keyref> - </xs:element> - -</xs:schema>
\ No newline at end of file diff --git a/test/schemas/import-bad-1_0.imp b/test/schemas/import-bad-1_0.imp deleted file mode 100755 index d70c012..0000000 --- a/test/schemas/import-bad-1_0.imp +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<xsd:lalala - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://BAR"> -</xsd:lalala>
\ No newline at end of file diff --git a/test/schemas/import0_0.imp b/test/schemas/import0_0.imp deleted file mode 100644 index ce446d8..0000000 --- a/test/schemas/import0_0.imp +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema targetNamespace="http://example.net/xmlschema2" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns="http://example.net/xmlschema2" - elementFormDefault="qualified" attributeFormDefault="unqualified"> - -<xs:simpleType name="tfoo"> - <xs:restriction base="xs:NMTOKEN"> - <xs:maxLength value="2"/> - </xs:restriction> -</xs:simpleType> - -</xs:schema> diff --git a/test/schemas/import0_0.xml b/test/schemas/import0_0.xml deleted file mode 100644 index 5ba7e3f..0000000 --- a/test/schemas/import0_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<bar xmlns="http://example.net/xmlschema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://example.net/xmlschema testImportTypes.xsd"> - <foo1> - xy - </foo1> -</bar> diff --git a/test/schemas/import0_0.xsd b/test/schemas/import0_0.xsd deleted file mode 100644 index e973d64..0000000 --- a/test/schemas/import0_0.xsd +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema targetNamespace="http://example.net/xmlschema" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:ns1="http://example.net/xmlschema" - xmlns:ns2="http://example.net/xmlschema2" - xmlns="http://example.net/xmlschema" - elementFormDefault="qualified" attributeFormDefault="unqualified"> - -<xs:import namespace="http://example.net/xmlschema2" - schemaLocation="import0_0.imp"/> - -<xs:element name="bar"> - <xs:complexType> - <xs:sequence> - <xs:element name="foo1" type="ns2:tfoo"/> - </xs:sequence> - </xs:complexType> -</xs:element> - - -</xs:schema> diff --git a/test/schemas/import1_0.imp b/test/schemas/import1_0.imp deleted file mode 100644 index b7fd2ec..0000000 --- a/test/schemas/import1_0.imp +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://BAR"> - - <xsd:element name="bar.A"/> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/import1_0.xml b/test/schemas/import1_0.xml deleted file mode 100644 index 7046521..0000000 --- a/test/schemas/import1_0.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<!-- This one tests the document access strategy for <import> --> -<foo:foo - xmlns:foo="http://FOO" - xmlns:bar="http://BAR" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO import1_0.xsd"> - <foo:bar/> - <bar:bar.A/> - <bar:bar.B/> -</foo:foo>
\ No newline at end of file diff --git a/test/schemas/import1_0.xsd b/test/schemas/import1_0.xsd deleted file mode 100644 index 309139c..0000000 --- a/test/schemas/import1_0.xsd +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0"?> -<!-- This one tests the document access strategy for <import> --> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" - xmlns:bar="http://BAR" - elementFormDefault="qualified"> - <xsd:import namespace="http://BAR" /> - - <!-- This document does not exist. --> - <xsd:import namespace="http://BAR" schemaLocation="import1_0bc.imp" /> - <!-- This document is ok. --> - <xsd:import namespace="http://BAR" schemaLocation="import1_0.imp" /> - <!-- This document will be skipped, since a schema for the namespace - "http://BAR" was already imported. --> - <xsd:import namespace="http://BAR" schemaLocation="import1_0b.imp" /> - - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="bar"/> - <xsd:element ref="bar:bar.A"/> - <!-- The reference cannot be resolved since - "import1_0b.imp" was skipped --> - <xsd:element ref="bar:bar.B"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/import1_0b.imp b/test/schemas/import1_0b.imp deleted file mode 100644 index 70bddd7..0000000 --- a/test/schemas/import1_0b.imp +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://BAR"> - - <xsd:element name="bar.B"/> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/import2_0.imp b/test/schemas/import2_0.imp deleted file mode 100644 index 298e6b1..0000000 --- a/test/schemas/import2_0.imp +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" - xmlns:bar="http://BAR" - elementFormDefault="qualified"> - - <!-- We need to import the namespace for the schema to be valid. --> - <xsd:import namespace="http://BAR"/> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="foo.B" type="bar:fooType"/> - <xsd:element ref="bar:bar"/> - </xsd:sequence> - <xsd:attribute name="foo.attr"/> - - </xsd:complexType> - </xsd:element> - - - -</xsd:schema> diff --git a/test/schemas/import2_0.xml b/test/schemas/import2_0.xml deleted file mode 100644 index 67723d4..0000000 --- a/test/schemas/import2_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo:foo xmlns:foo="http://FOO" - xmlns:bar="http://BAR" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://BAR import2_0.xsd" foo.attr="oo"> - <foo:foo.B/> - <bar:bar/> -</foo:foo> diff --git a/test/schemas/import2_0.xsd b/test/schemas/import2_0.xsd deleted file mode 100644 index 6922bec..0000000 --- a/test/schemas/import2_0.xsd +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:foo="http://FOO" - targetNamespace="http://BAR" - elementFormDefault="qualified"> - - <xsd:import namespace="http://FOO" schemaLocation="import2_0.imp"/> - - <xsd:simpleType name="fooType"> - <xsd:restriction base="xsd:string"> - <xsd:maxLength value="10"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="bar"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="foo:foo" minOccurs="0"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - -</xsd:schema> diff --git a/test/schemas/include1_0.inc b/test/schemas/include1_0.inc deleted file mode 100644 index 1745abe..0000000 --- a/test/schemas/include1_0.inc +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > - - <xsd:simpleType name="barType"> - <xsd:restriction base="xsd:string"> - <xsd:maxLength value="10" /> - </xsd:restriction> - </xsd:simpleType> - - <xsd:attribute name="bar" type="barType" fixed="o"/> - - <xsd:element name="bar.B" type="xsd:anyURI" block="#all" nillable="true" final="restriction extension"/> - - <xsd:element name="bar"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="bar.A" block="restriction" form="qualified" nillable="true" /> - <xsd:element ref="bar.B"/> - </xsd:sequence> - - <xsd:attribute ref="bar" xml:lang="DE"> - <xsd:annotation/> - </xsd:attribute> - <xsd:attribute name="uri" type="xsd:token" /> - </xsd:complexType> - </xsd:element> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/include1_0.xml b/test/schemas/include1_0.xml deleted file mode 100644 index 8ffee0e..0000000 --- a/test/schemas/include1_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<foo:foo xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO include1_0.xsd" foo:req="oo"> - <foo:bar foo:bar="o" uri="asd"><foo:bar.A/><foo:bar.B>anyURI</foo:bar.B></foo:bar> - <boo/> - -</foo:foo>
\ No newline at end of file diff --git a/test/schemas/include1_0.xsd b/test/schemas/include1_0.xsd deleted file mode 100644 index 5e6d837..0000000 --- a/test/schemas/include1_0.xsd +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO" version=""> - <xsd:include schemaLocation="include1_0.inc" /> - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="foo:bar"/> - <xsd:element name="boo" type="xsd:string"/> - </xsd:sequence> - <xsd:attribute name="req" use="required" form="qualified"/> - </xsd:complexType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/include2_0.inc b/test/schemas/include2_0.inc deleted file mode 100644 index 3104cd5..0000000 --- a/test/schemas/include2_0.inc +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - elementFormDefault="qualified" attributeFormDefault="qualified" - blockDefault="extension" finalDefault="extension"> - - <xsd:element name="bar"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="bar.B" type="xsd:anyType"/> - </xsd:sequence> - <xsd:attribute name="bar"/> - </xsd:complexType> - - </xsd:element> - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/include2_0.xml b/test/schemas/include2_0.xml deleted file mode 100644 index b460b93..0000000 --- a/test/schemas/include2_0.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<foo:foo - xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO include2_0.xsd"> - <foo:bar foo:bar="ooo"> - <foo:bar.B foo:bar="ooo"/> - </foo:bar> -</foo:foo>
\ No newline at end of file diff --git a/test/schemas/include2_0.xsd b/test/schemas/include2_0.xsd deleted file mode 100644 index 5f63102..0000000 --- a/test/schemas/include2_0.xsd +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO"> - <xsd:include schemaLocation="include2_0.inc" /> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element ref="foo:bar"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/include3_0.inc b/test/schemas/include3_0.inc deleted file mode 100644 index c0436e8..0000000 --- a/test/schemas/include3_0.inc +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="bar" /> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/include3_0.xml b/test/schemas/include3_0.xml deleted file mode 100644 index e880cc5..0000000 --- a/test/schemas/include3_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<foo:foo - xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO include3_0.xsd"> - <foo:bar /> -</foo:foo>
\ No newline at end of file diff --git a/test/schemas/include3_0.xsd b/test/schemas/include3_0.xsd deleted file mode 100644 index 5319486..0000000 --- a/test/schemas/include3_0.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" - xmlns:foo="http://FOO"> - <xsd:include schemaLocation="include3_0.inc" /> - - <xsd:element name="bar"/> - <xsd:element name="foo"/> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/item_0.xml b/test/schemas/item_0.xml deleted file mode 100644 index 19d0790..0000000 --- a/test/schemas/item_0.xml +++ /dev/null @@ -1,6 +0,0 @@ -<Item partNum="926-AA" shipBy="air"> -<productName>foo</productName> -<quantity>2</quantity> -<USPrice>1.0</USPrice> -<comment>No comment !</comment> -</Item> diff --git a/test/schemas/item_0.xsd b/test/schemas/item_0.xsd deleted file mode 100644 index 315e06e..0000000 --- a/test/schemas/item_0.xsd +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="comment" type="xsd:string"/> - <!-- Stock Keeping Unit, a code for identifying products --> - <xsd:simpleType name="SKU"> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="\d{3}-[A-Z]{2}"/> - </xsd:restriction> - </xsd:simpleType> - <xsd:element name="Item"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="productName" type="xsd:string"/> - <xsd:element name="quantity"> - <xsd:simpleType> - <xsd:restriction base="xsd:positiveInteger"> - <xsd:maxExclusive value="100"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="USPrice" type="xsd:decimal"/> - <xsd:element ref="comment" minOccurs="0"/> - <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/> - </xsd:sequence> - <xsd:attribute name="partNum" type="SKU" use="required"/> - <!-- add weightKg and shipBy attributes --> - <xsd:attribute name="weightKg" type="xsd:decimal"/> - <xsd:attribute name="shipBy"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="air"/> - <xsd:enumeration value="land"/> - <xsd:enumeration value="any"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:attribute> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/item_1.xsd b/test/schemas/item_1.xsd deleted file mode 100644 index 3cf966e..0000000 --- a/test/schemas/item_1.xsd +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:element name="comment" type="xsd:string"/> -<!-- Stock Keeping Unit, a code for identifying products --> - <xsd:simpleType name="SKU"> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="\d{3}-[A-Z]{2}"/> - </xsd:restriction> - </xsd:simpleType> - <xsd:element name="Item"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="productName" type="xsd:string"/> - <xsd:element name="quantity"> - <xsd:simpleType> - <xsd:restriction base="xsd:positiveInteger"> - <xsd:maxExclusive value="100"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="USPrice" type="xsd:decimal"/> - <xsd:element ref="comment" minOccurs="0"/> - <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/> - </xsd:sequence> -<!-- attributeGroup replaces individual declarations --> - <xsd:attributeGroup ref="ItemDelivery"/> - </xsd:complexType> - </xsd:element> - <xsd:attributeGroup name="ItemDelivery"> - <xsd:attribute name="partNum" type="SKU" use="required"/> - <xsd:attribute name="weightKg" type="xsd:decimal"/> - <xsd:attribute name="shipBy"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:enumeration value="air"/> - <xsd:enumeration value="land"/> - <xsd:enumeration value="any"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:attribute> - </xsd:attributeGroup> -</xsd:schema> diff --git a/test/schemas/length1_0.xml b/test/schemas/length1_0.xml deleted file mode 100644 index 0a8cd3f..0000000 --- a/test/schemas/length1_0.xml +++ /dev/null @@ -1 +0,0 @@ -<width unit="cm">25</width> diff --git a/test/schemas/length1_0.xsd b/test/schemas/length1_0.xsd deleted file mode 100644 index 8a1ba0f..0000000 --- a/test/schemas/length1_0.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="length1"> - <xs:simpleContent> - <xs:extension base="xs:nonNegativeInteger"> - <xs:attribute name="unit" type="xs:NMTOKEN"/> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - <xs:element name="width" type="length1"/> -</xs:schema> diff --git a/test/schemas/length2_0.xml b/test/schemas/length2_0.xml deleted file mode 100644 index 5c851da..0000000 --- a/test/schemas/length2_0.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<depth> - <size>25</size> - <unit>cm</unit> -</depth> diff --git a/test/schemas/length2_0.xsd b/test/schemas/length2_0.xsd deleted file mode 100644 index 76d73c0..0000000 --- a/test/schemas/length2_0.xsd +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="length2"> - <xs:complexContent> - <xs:restriction base="xs:anyType"> - <xs:sequence> - <xs:element name="size" type="xs:nonNegativeInteger"/> - <xs:element name="unit" type="xs:NMTOKEN"/> - </xs:sequence> - </xs:restriction> - </xs:complexContent> - </xs:complexType> - <xs:element name="depth" type="length2"/> -</xs:schema> diff --git a/test/schemas/length3_0.xml b/test/schemas/length3_0.xml deleted file mode 100644 index 5c851da..0000000 --- a/test/schemas/length3_0.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<depth> - <size>25</size> - <unit>cm</unit> -</depth> diff --git a/test/schemas/length3_0.xsd b/test/schemas/length3_0.xsd deleted file mode 100644 index b97e688..0000000 --- a/test/schemas/length3_0.xsd +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="length3"> - <xs:sequence> - <xs:element name="size" type="xs:non-positive-integer"/> - <xs:element name="unit" type="xs:NMTOKEN"/> - </xs:sequence> - </xs:complexType> - <xs:element name="depth" type="length3"/> -</xs:schema> diff --git a/test/schemas/list0_0.xml b/test/schemas/list0_0.xml deleted file mode 100644 index a58fe8b..0000000 --- a/test/schemas/list0_0.xml +++ /dev/null @@ -1,6 +0,0 @@ -<test> - <string>hello world</string> - <string>hello world</string> - <string>hello world</string> - <string>hello world</string> -</test> diff --git a/test/schemas/list0_0.xsd b/test/schemas/list0_0.xsd deleted file mode 100644 index 33d7d66..0000000 --- a/test/schemas/list0_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> - <xs:element name="test"> - <xs:annotation> - <xs:documentation>Comment describing your root element</xs:documentation> - </xs:annotation> - <xs:complexType> - <xs:sequence> - <xs:element name="string" type="xs:string" minOccurs="2" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/list0_1.xml b/test/schemas/list0_1.xml deleted file mode 100644 index 8878e5d..0000000 --- a/test/schemas/list0_1.xml +++ /dev/null @@ -1,3 +0,0 @@ -<test> - <string>hello world</string> -</test> diff --git a/test/schemas/list0_1.xsd b/test/schemas/list0_1.xsd deleted file mode 100644 index 8966075..0000000 --- a/test/schemas/list0_1.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> - <xs:element name="test"> - <xs:annotation> - <xs:documentation>Comment describing your root element</xs:documentation> - </xs:annotation> - <xs:complexType> - <xs:sequence> - <xs:element name="string" type="xs:string" minOccurs="2" maxOccurs="3"/> - </xs:sequence> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/list0_2.xml b/test/schemas/list0_2.xml deleted file mode 100644 index e94d481..0000000 --- a/test/schemas/list0_2.xml +++ /dev/null @@ -1,4 +0,0 @@ -<test> - <string>hello world</string> - <string>hello world</string> -</test> diff --git a/test/schemas/mixed0_0.xml b/test/schemas/mixed0_0.xml deleted file mode 100644 index 5864343..0000000 --- a/test/schemas/mixed0_0.xml +++ /dev/null @@ -1 +0,0 @@ -<my>x</my> diff --git a/test/schemas/mixed0_0.xsd b/test/schemas/mixed0_0.xsd deleted file mode 100644 index a82226e..0000000 --- a/test/schemas/mixed0_0.xsd +++ /dev/null @@ -1,5 +0,0 @@ -<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> - <xs:element name='my'> - <xs:complexType mixed='true'/> - </xs:element> -</xs:schema> diff --git a/test/schemas/mixed1_0.xml b/test/schemas/mixed1_0.xml deleted file mode 100644 index d8cf633..0000000 --- a/test/schemas/mixed1_0.xml +++ /dev/null @@ -1 +0,0 @@ -<my myattr='y'>x</my> diff --git a/test/schemas/mixed1_0.xsd b/test/schemas/mixed1_0.xsd deleted file mode 100644 index a9ea6cc..0000000 --- a/test/schemas/mixed1_0.xsd +++ /dev/null @@ -1,7 +0,0 @@ -<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> - <xs:element name='my'> - <xs:complexType mixed='true'> - <xs:attribute name='myattr' type='xs:string' use='required'/> - </xs:complexType> - </xs:element> -</xs:schema> diff --git a/test/schemas/ns0_0.xml b/test/schemas/ns0_0.xml deleted file mode 100644 index 1cbaf1f..0000000 --- a/test/schemas/ns0_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<foo xmlns="http://example.com/xsd/ns" id="abc"/> - diff --git a/test/schemas/ns0_0.xsd b/test/schemas/ns0_0.xsd deleted file mode 100644 index 38951d6..0000000 --- a/test/schemas/ns0_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://example.com/xsd/ns" - elementFormDefault="qualified" - attributeFormDefault="unqualified"> - <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> - diff --git a/test/schemas/ns0_1.xml b/test/schemas/ns0_1.xml deleted file mode 100644 index 6550f5c..0000000 --- a/test/schemas/ns0_1.xml +++ /dev/null @@ -1,2 +0,0 @@ -<n:foo xmlns:n="http://example.com/xsd/ns" id="abc"/> - diff --git a/test/schemas/ns0_1.xsd b/test/schemas/ns0_1.xsd deleted file mode 100644 index df2e79a..0000000 --- a/test/schemas/ns0_1.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://example.com/xsd/ns" - elementFormDefault="qualified" - attributeFormDefault="qualified"> - <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> - diff --git a/test/schemas/ns0_2.xml b/test/schemas/ns0_2.xml deleted file mode 100644 index 8f2bdba..0000000 --- a/test/schemas/ns0_2.xml +++ /dev/null @@ -1,2 +0,0 @@ -<foo id="abc"/> - diff --git a/test/schemas/ns0_3.xml b/test/schemas/ns0_3.xml deleted file mode 100644 index 4c5c1e4..0000000 --- a/test/schemas/ns0_3.xml +++ /dev/null @@ -1,2 +0,0 @@ -<n:foo xmlns:n="http://example.com/xsd/ns" n:id="abc"/> - diff --git a/test/schemas/ns0_4.xml b/test/schemas/ns0_4.xml deleted file mode 100644 index dcdd418..0000000 --- a/test/schemas/ns0_4.xml +++ /dev/null @@ -1,3 +0,0 @@ -<l:foo xmlns:l="http://example.com/xsd/ns" - xmlns:b="http://example.com/xsd/ns" b:id="abc"/> - diff --git a/test/schemas/ns1_0.xml b/test/schemas/ns1_0.xml deleted file mode 100644 index 410ed26..0000000 --- a/test/schemas/ns1_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<my xmlns='http://my.ns/' ->some</my> diff --git a/test/schemas/ns1_0.xsd b/test/schemas/ns1_0.xsd deleted file mode 100644 index a77ec57..0000000 --- a/test/schemas/ns1_0.xsd +++ /dev/null @@ -1,3 +0,0 @@ -<schema xmlns='http://www.w3.org/2001/XMLSchema' targetNamespace='http://my.ns/'> - <element name='my' type='string'/> -</schema> diff --git a/test/schemas/ns2_0.xml b/test/schemas/ns2_0.xml deleted file mode 100644 index c3bb126..0000000 --- a/test/schemas/ns2_0.xml +++ /dev/null @@ -1 +0,0 @@ -<m:my xmlns:m='http://my.ns/' m:other='1'>content</m:my> diff --git a/test/schemas/ns2_0.xsd b/test/schemas/ns2_0.xsd deleted file mode 100644 index 9393beb..0000000 --- a/test/schemas/ns2_0.xsd +++ /dev/null @@ -1,15 +0,0 @@ -<schema xmlns:my='http://my.ns/' - xmlns='http://www.w3.org/2001/XMLSchema' - targetNamespace='http://my.ns/' - > - <attribute name='other' type='string'/> - <element name='my'> - <complexType> - <simpleContent> - <extension base='string'> - <attribute ref='my:other'/> - </extension> - </simpleContent> - </complexType> - </element> -</schema> diff --git a/test/schemas/po0_0.xml b/test/schemas/po0_0.xml deleted file mode 100644 index 387232d..0000000 --- a/test/schemas/po0_0.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<purchaseOrder orderDate="1999-10-20"> - <shipTo country="US"> - <name>Alice Smith</name> - <street>123 Maple Street</street> - <city>Mill Valley</city> - <state>CA</state> - <zip>90952</zip> - </shipTo> - <billTo country="US"> - <name>Robert Smith</name> - <street>8 Oak Avenue</street> - <city>Old Town</city> - <state>PA</state> - <zip>95819</zip> - </billTo> - <comment>Hurry, my lawn is going wild!</comment> - <items> - <item partNum="872-AA"> - <productName>Lawnmower</productName> - <quantity>1</quantity> - <USPrice>148.95</USPrice> - <comment>Confirm this is electric</comment> - </item> - <item partNum="926-AA"> - <productName>Baby Monitor</productName> - <quantity>1</quantity> - <USPrice>39.98</USPrice> - <shipDate>1999-05-21</shipDate> - </item> - </items> -</purchaseOrder> diff --git a/test/schemas/po0_0.xsd b/test/schemas/po0_0.xsd deleted file mode 100644 index 5a1e660..0000000 --- a/test/schemas/po0_0.xsd +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation xml:lang="en"> -Purchase order schema for Example.com. - Copyright 2000 Example.com. All rights reserved. - </xsd:documentation> - </xsd:annotation> - <xsd:element name="purchaseOrder" type="PurchaseOrderType"/> - <xsd:element name="comment" type="xsd:string"/> - <xsd:complexType name="PurchaseOrderType"> - <xsd:sequence> - <xsd:element name="shipTo" type="USAddress"/> - <xsd:element name="billTo" type="USAddress"/> - <xsd:element ref="comment" minOccurs="0"/> - <xsd:element name="items" type="Items"/> - </xsd:sequence> - <xsd:attribute name="orderDate" type="xsd:date"/> - </xsd:complexType> - <xsd:complexType name="USAddress"> - <xsd:sequence> - <xsd:element name="name" type="xsd:string"/> - <xsd:element name="street" type="xsd:string"/> - <xsd:element name="city" type="xsd:string"/> - <xsd:element name="state" type="xsd:string"/> - <xsd:element name="zip" type="xsd:decimal"/> - </xsd:sequence> - <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/> - </xsd:complexType> - <xsd:complexType name="Items"> - <xsd:sequence> - <xsd:element name="item" minOccurs="0" maxOccurs="unbounded"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="productName" type="xsd:string"/> - <xsd:element name="quantity"> - <xsd:simpleType> - <xsd:restriction base="xsd:positiveInteger"> - <xsd:maxExclusive value="100"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - <xsd:element name="USPrice" type="xsd:decimal"/> - <xsd:element ref="comment" minOccurs="0"/> - <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/> - </xsd:sequence> - <xsd:attribute name="partNum" type="SKU" use="required"/> - </xsd:complexType> - </xsd:element> - </xsd:sequence> - </xsd:complexType> -<!-- Stock Keeping Unit, a code for identifying products --> - <xsd:simpleType name="SKU"> - <xsd:restriction base="xsd:string"> - <xsd:pattern value="\d{3}-[A-Z]{2}"/> - </xsd:restriction> - </xsd:simpleType> -</xsd:schema> - diff --git a/test/schemas/po1_0.xml b/test/schemas/po1_0.xml deleted file mode 100644 index 8781bbf..0000000 --- a/test/schemas/po1_0.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?>
-<apo:purchaseOrder xmlns:apo="http://www.example.com/PO1"
- orderDate="1999-10-20">
- <shipTo country="US">
- <name>Alice Smith</name>
- <street>123 Maple Street</street>
- <city>Mill Valley</city>
- <state>CA</state>
- <zip>90952</zip>
- </shipTo>
- <billTo country="US">
- <name>Robert Smith</name>
- <street>8 Oak Avenue</street>
- <city>Old Town</city>
- <state>PA</state>
- <zip>95819</zip>
- </billTo>
- <apo:comment>Hurry, my lawn is going wild!</apo:comment>
- <items>
- <item partNum="872-AA">
- <productName>Lawnmower</productName>
- <quantity>1</quantity>
- <USPrice>148.95</USPrice>
- <apo:comment>Confirm this is electric</apo:comment>
- </item>
- <item partNum="926-AA">
- <productName>Baby Monitor</productName>
- <quantity>1</quantity>
- <USPrice>39.98</USPrice>
- <shipDate>1999-05-21</shipDate>
- </item>
- </items>
-</apo:purchaseOrder>
-
diff --git a/test/schemas/po1_0.xsd b/test/schemas/po1_0.xsd deleted file mode 100644 index a630561..0000000 --- a/test/schemas/po1_0.xsd +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:po="http://www.example.com/PO1"
- targetNamespace="http://www.example.com/PO1"
- elementFormDefault="unqualified"
- attributeFormDefault="unqualified">
- <xsd:annotation>
- <xsd:documentation xml:lang="en">
-Purchase order schema for Example.com.
- Copyright 2000 Example.com. All rights reserved.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:element name="purchaseOrder" type="po:PurchaseOrderType"/>
- <xsd:element name="comment" type="xsd:string"/>
- <xsd:complexType name="PurchaseOrderType">
- <xsd:sequence>
- <xsd:element name="shipTo" type="po:USAddress"/>
- <xsd:element name="billTo" type="po:USAddress"/>
- <xsd:element ref="po:comment" minOccurs="0"/>
- <xsd:element name="items" type="po:Items"/>
- </xsd:sequence>
- <xsd:attribute name="orderDate" type="xsd:date"/>
- </xsd:complexType>
- <xsd:complexType name="USAddress">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="street" type="xsd:string"/>
- <xsd:element name="city" type="xsd:string"/>
- <xsd:element name="state" type="xsd:string"/>
- <xsd:element name="zip" type="xsd:decimal"/>
- </xsd:sequence>
- <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>
- </xsd:complexType>
- <xsd:complexType name="Items">
- <xsd:sequence>
- <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="productName" type="xsd:string"/>
- <xsd:element name="quantity">
- <xsd:simpleType>
- <xsd:restriction base="xsd:positiveInteger">
- <xsd:maxExclusive value="100"/>
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="USPrice" type="xsd:decimal"/>
- <xsd:element ref="po:comment" minOccurs="0"/>
- <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
- </xsd:sequence>
- <xsd:attribute name="partNum" type="po:SKU" use="required"/>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-<!-- Stock Keeping Unit, a code for identifying products -->
- <xsd:simpleType name="SKU">
- <xsd:restriction base="xsd:string">
- <xsd:pattern value="\d{3}-[A-Z]{2}"/>
- </xsd:restriction>
- </xsd:simpleType>
-</xsd:schema>
-
-
diff --git a/test/schemas/restrict-CT-attr-ref_0.xml b/test/schemas/restrict-CT-attr-ref_0.xml deleted file mode 100644 index d021a83..0000000 --- a/test/schemas/restrict-CT-attr-ref_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<foo:foo xmlns:foo="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO restrict-CT-attr-ref_0.xsd" foo:id="b0836217462"/>
\ No newline at end of file diff --git a/test/schemas/restrict-CT-attr-ref_0.xsd b/test/schemas/restrict-CT-attr-ref_0.xsd deleted file mode 100644 index a98b82a..0000000 --- a/test/schemas/restrict-CT-attr-ref_0.xsd +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - attributeFormDefault="qualified" - xmlns:foo="http://FOO" - targetNamespace="http://FOO"> - - <xsd:attribute name="id" type="xsd:ID"/> - - <xsd:complexType name="typeIDAttr"> - <xsd:attribute ref="foo:id"/> - </xsd:complexType> - - <xsd:simpleType name="fooID"> - <xsd:restriction base="xsd:ID"> - <xsd:pattern value="b\d{10}"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:complexContent> - <xsd:restriction base="foo:typeIDAttr"> - <xsd:attribute name="id" type="foo:fooID"/> - </xsd:restriction> - </xsd:complexContent> - </xsd:complexType> - </xsd:element> - - -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/restriction-attr1_0.xml b/test/schemas/restriction-attr1_0.xml deleted file mode 100644 index 33b8f19..0000000 --- a/test/schemas/restriction-attr1_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<foo xmlns="http://FOO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO file:///l:/libxml2/test/schemas/restriction-attr1_0.xsd" barA="hh"/> diff --git a/test/schemas/restriction-attr1_0.xsd b/test/schemas/restriction-attr1_0.xsd deleted file mode 100644 index 31c288f..0000000 --- a/test/schemas/restriction-attr1_0.xsd +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://FOO" targetNamespace="http://FOO"> - - <xs:element name="foo"> - <xs:complexType> - <xs:complexContent> - <xs:restriction base="typeA"> - <xs:attribute name="barA" type="xs:string" use="optional"/> - </xs:restriction> - </xs:complexContent> - </xs:complexType> - </xs:element> - - <xs:complexType name="typeA"> - <xs:attribute name="barA" type="xs:string" use="required"/> - </xs:complexType> - -</xs:schema>
\ No newline at end of file diff --git a/test/schemas/restriction0_0.xml b/test/schemas/restriction0_0.xml deleted file mode 100644 index 8656d2c..0000000 --- a/test/schemas/restriction0_0.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0"?> -<who> - <forename>Bill</forename> - <surname>Clinton</surname> -</who> diff --git a/test/schemas/restriction0_0.xsd b/test/schemas/restriction0_0.xsd deleted file mode 100644 index 6b35b9f..0000000 --- a/test/schemas/restriction0_0.xsd +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:complexType name="personName"> - <xs:sequence> - <xs:element name="title" minOccurs="0"/> - <xs:element name="forename" minOccurs="0" maxOccurs="unbounded"/> - <xs:element name="surname"/> - </xs:sequence> - </xs:complexType> - <xs:complexType name="simpleName"> - <xs:complexContent> - <xs:restriction base="personName"> - <xs:sequence> - <xs:element name="forename" minOccurs="1" maxOccurs="1"/> - <xs:element name="surname"/> - </xs:sequence> - </xs:restriction> - </xs:complexContent> - </xs:complexType> - <xs:element name="who" type="simpleName"/> -</xs:schema> diff --git a/test/schemas/scc-no-xmlns_0.xml b/test/schemas/scc-no-xmlns_0.xml deleted file mode 100644 index b85cdcb..0000000 --- a/test/schemas/scc-no-xmlns_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://foo"/> - diff --git a/test/schemas/scc-no-xmlns_0.xsd b/test/schemas/scc-no-xmlns_0.xsd deleted file mode 100644 index 731c81b..0000000 --- a/test/schemas/scc-no-xmlns_0.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- C.4 Schema Component Constraints: no-xmlns --> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute name="xmlns" type="string" /> - </complexType> - </element> - -</schema> diff --git a/test/schemas/scc-no-xsi_0.xml b/test/schemas/scc-no-xsi_0.xml deleted file mode 100644 index b85cdcb..0000000 --- a/test/schemas/scc-no-xsi_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://foo"/> - diff --git a/test/schemas/scc-no-xsi_0.xsd b/test/schemas/scc-no-xsi_0.xsd deleted file mode 100644 index 388b6a9..0000000 --- a/test/schemas/scc-no-xsi_0.xsd +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.6 Schema Component Constraint: xsi: Not Allowed --> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema-instance"> - - <element name="foo"> - <complexType> - <attribute name="bar" form="qualified" type="string"/> - </complexType> - </element> - -</schema> diff --git a/test/schemas/seq-dubl-elem1_0.xml b/test/schemas/seq-dubl-elem1_0.xml deleted file mode 100644 index a93c8ee..0000000 --- a/test/schemas/seq-dubl-elem1_0.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<foo:foo xmlns:foo="http://FOO" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://FOO seq-dubl-elem1_0.xsd"> - <foo:PGPKeyID>PEhlbGxvIHdvcmxkIT4=</foo:PGPKeyID> - <foo:PGPKeyPacket>PEhlbGxvIHdvcmxkIT4=</foo:PGPKeyPacket> -</foo:foo>
\ No newline at end of file diff --git a/test/schemas/seq-dubl-elem1_0.xsd b/test/schemas/seq-dubl-elem1_0.xsd deleted file mode 100644 index fd05da7..0000000 --- a/test/schemas/seq-dubl-elem1_0.xsd +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0"?> -<schema xmlns="http://www.w3.org/2001/XMLSchema" - xmlns:foo="http://FOO" - targetNamespace="http://FOO" version="0.1" - elementFormDefault="qualified"> - - <complexType name="fooType"> - <choice> - <sequence> - <element name="PGPKeyID" type="base64Binary"/> - <element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/> - <any namespace="##other" processContents="lax" minOccurs="0" -maxOccurs="unbounded"/> - </sequence> - <sequence> - <element name="PGPKeyPacket" type="base64Binary"/> - <any namespace="##other" processContents="lax" minOccurs="0" -maxOccurs="unbounded"/> - </sequence> - </choice> - </complexType> - - <element name="foo" type="foo:fooType"/> - -</schema>
\ No newline at end of file diff --git a/test/schemas/seq0_0.xml b/test/schemas/seq0_0.xml deleted file mode 100644 index 54b1c1c..0000000 --- a/test/schemas/seq0_0.xml +++ /dev/null @@ -1,61 +0,0 @@ -<doc> - <!-- at least one present --> - <z-o> - <b/> - </z-o> - <o-o> - <c/> - </o-o> - <z-u> - <d/> - </z-u> - <o-u> - <e/> - </o-u> - <z-3> - <f/> - </z-3> - <o-3> - <g/> - </o-3> - <!-- more than one present when allowed --> - <z-o> - <b/> - </z-o> - <o-o> - <c/> - </o-o> - <z-u> - <d/> - <d/> - <d/> - </z-u> - <o-u> - <e/> - <e/> - <e/> - </o-u> - <z-3> - <f/> - <f/> - <f/> - </z-3> - <o-3> - <g/> - <g/> - <g/> - </o-3> - <!-- min 0 are not present --> - <z-o/> - <o-o> - <c/> - </o-o> - <z-u/> - <o-u> - <e/> - </o-u> - <z-3/> - <o-3> - <g/> - </o-3> -</doc> diff --git a/test/schemas/seq0_0.xsd b/test/schemas/seq0_0.xsd deleted file mode 100644 index 34d3a78..0000000 --- a/test/schemas/seq0_0.xsd +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <xsd:annotation> - <xsd:documentation> - Testing min and max occurance attributes on sequences - </xsd:documentation> - </xsd:annotation> - - <xsd:element name="doc"> - <xsd:complexType> - <xsd:sequence minOccurs='0' maxOccurs='unbounded'> - - <xsd:element name="z-o"> - <xsd:complexType> - <xsd:sequence minOccurs='0' maxOccurs='1'> - <xsd:element name='b'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="o-o"> - <xsd:complexType> - <xsd:sequence minOccurs='1' maxOccurs='1'> - <xsd:element name='c'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="z-u"> - <xsd:complexType> - <xsd:sequence minOccurs='0' maxOccurs='unbounded'> - <xsd:element name='d'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="o-u"> - <xsd:complexType> - <xsd:sequence minOccurs='1' maxOccurs='unbounded'> - <xsd:element name='e'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="z-3"> - <xsd:complexType> - <xsd:sequence minOccurs='0' maxOccurs='3'> - <xsd:element name='f'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="o-3"> - <xsd:complexType> - <xsd:sequence minOccurs='1' maxOccurs='3'> - <xsd:element name='g'/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - </xsd:sequence> - </xsd:complexType> - </xsd:element> -</xsd:schema> diff --git a/test/schemas/src-attribute1_0.xml b/test/schemas/src-attribute1_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute1_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute1_0.xsd b/test/schemas/src-attribute1_0.xsd deleted file mode 100644 index dba8b48..0000000 --- a/test/schemas/src-attribute1_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 1 - default and fixed must not both be present ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute name="bar" type="string" default="moo" fixed="true"/> - </complexType> - </element> - -</schema> diff --git a/test/schemas/src-attribute2_0.xml b/test/schemas/src-attribute2_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute2_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute2_0.xsd b/test/schemas/src-attribute2_0.xsd deleted file mode 100644 index d10cc81..0000000 --- a/test/schemas/src-attribute2_0.xsd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 2 - If default and use are both present, use must have the ·actual value· optional ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute name="bar" type="string" use="required" default="moo" /> - </complexType> - </element> - -</schema> diff --git a/test/schemas/src-attribute3-1_0.xml b/test/schemas/src-attribute3-1_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute3-1_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute3-1_0.xsd b/test/schemas/src-attribute3-1_0.xsd deleted file mode 100644 index 28e003c..0000000 --- a/test/schemas/src-attribute3-1_0.xsd +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3.1 - One of ref or name must be present, but not both ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute name="bar" ref="foo:bar" /> - </complexType> - </element> - - <attribute name="bar" type="string" /> - -</schema> diff --git a/test/schemas/src-attribute3-2-form_0.xml b/test/schemas/src-attribute3-2-form_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute3-2-form_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute3-2-form_0.xsd b/test/schemas/src-attribute3-2-form_0.xsd deleted file mode 100644 index 0c7cc23..0000000 --- a/test/schemas/src-attribute3-2-form_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3.2 - If ref is present, then all of <simpleType>, form and type must be absent - This one tests "form" ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute ref="foo:bar" form="qualified"/> - </complexType> - </element> - - <attribute name="bar" type="string"/> - -</schema> diff --git a/test/schemas/src-attribute3-2-st_0.xml b/test/schemas/src-attribute3-2-st_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute3-2-st_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute3-2-st_0.xsd b/test/schemas/src-attribute3-2-st_0.xsd deleted file mode 100644 index f256381..0000000 --- a/test/schemas/src-attribute3-2-st_0.xsd +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3.2 - If ref is present, then all of <simpleType>, form and type must be absent - This one tests <simpleType> ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute ref="foo:bar"> - <simpleType> - <restriction base="string"> - <maxLength value="20"/> - </restriction> - </simpleType> - </attribute> - </complexType> - </element> - - <attribute name="bar" type="string" /> - -</schema> diff --git a/test/schemas/src-attribute3-2-type_0.xml b/test/schemas/src-attribute3-2-type_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute3-2-type_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute3-2-type_0.xsd b/test/schemas/src-attribute3-2-type_0.xsd deleted file mode 100644 index 54f1973..0000000 --- a/test/schemas/src-attribute3-2-type_0.xsd +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3.2 - If ref is present, then all of <simpleType>, form and type must be absent - This one tests "type" ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo"> - <complexType> - <attribute ref="foo:bar" type="string"/> - </complexType> - </element> - - <attribute name="bar" type="string"/> - -</schema> diff --git a/test/schemas/src-attribute4_0.xml b/test/schemas/src-attribute4_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-attribute4_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-attribute4_0.xsd b/test/schemas/src-attribute4_0.xsd deleted file mode 100644 index cc9d8ac..0000000 --- a/test/schemas/src-attribute4_0.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3.2 - type and <simpleType> must not both be present ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <attribute name="bar" type="string"> - <simpleType> - <restriction base="string"> - <maxLength value="20"/> - </restriction> - </simpleType> - </attribute> - - <element name="foo"/> - -</schema> diff --git a/test/schemas/src-element1_0.xml b/test/schemas/src-element1_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-element1_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-element1_0.xsd b/test/schemas/src-element1_0.xsd deleted file mode 100644 index ffd8d57..0000000 --- a/test/schemas/src-element1_0.xsd +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 1 - default and fixed must not both be present ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo" type="string" default="Joni" fixed="Mitchel"/> - -</schema> diff --git a/test/schemas/src-element2-1_0.xml b/test/schemas/src-element2-1_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-element2-1_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-element2-1_0.xsd b/test/schemas/src-element2-1_0.xsd deleted file mode 100644 index 61c2edf..0000000 --- a/test/schemas/src-element2-1_0.xsd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 2.1 - One of ref or name must be present, but not both. ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="bar" type="string"/> - - <element name="foo"> - <complexType> - <sequence> - <element name="bar" ref="foo:bar"/> - </sequence> - </complexType> - </element> - -</schema> diff --git a/test/schemas/src-element2-2_0.xml b/test/schemas/src-element2-2_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-element2-2_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-element2-2_0.xsd b/test/schemas/src-element2-2_0.xsd deleted file mode 100644 index a70740a..0000000 --- a/test/schemas/src-element2-2_0.xsd +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 2.2 - If ref is present, then all of <complexType>, <simpleType>, <key>, <keyref>, <unique>, - nillable, default, fixed, form, block and type must be absent, i.e. only minOccurs, maxOccurs, - id are allowed in addition to ref, along with <annotation>. - ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="bar" type="string"/> - - <element name="foo"> - <complexType> - <choice> - - <!-- The good ones. --> - <element ref="foo:bar" minOccurs="0"/> - <element ref="foo:bar" maxOccurs="0"/> - <element ref="foo:bar" id="myomy"/> - - <!-- The bad ones. --> - <element ref="foo:bar"> - <complexType> - <attribute name="bar" type="string"/> - </complexType> - </element> - - <element ref="foo:bar"> - <simpleType> - <restriction base="string"> - <maxLength value="20"/> - </restriction> - </simpleType> - </element> - - <element ref="foo:bar" type="string"/> - <element ref="foo:bar" nillable="true"/> - <element ref="foo:bar" default="Joni"/> - <element ref="foo:bar" fixed="Mitchel"/> - <element ref="foo:bar" form="unqualified"/> - <element ref="foo:bar" block="restriction"/> - - </choice> - </complexType> - </element> - - -</schema> diff --git a/test/schemas/src-element3_0.xml b/test/schemas/src-element3_0.xml deleted file mode 100644 index 760efd9..0000000 --- a/test/schemas/src-element3_0.xml +++ /dev/null @@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<foo xmlns="http://FOO"/> diff --git a/test/schemas/src-element3_0.xsd b/test/schemas/src-element3_0.xsd deleted file mode 100644 index 28b69d8..0000000 --- a/test/schemas/src-element3_0.xsd +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- 3.2.3 : 3 - type and either <simpleType> or <complexType> are mutually exclusive ---> -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> - - <element name="foo" type="foo:someType"> - <complexType> - <sequence> - <element name="bar" type="string"/> - </sequence> - </complexType> - </element> - - <element name="bar" type="foo:someType"> - <simpleType> - <restriction base="string"> - <maxLength value="20"/> - </restriction> - </simpleType> - </element> - - <complexType name="someType"> - <sequence> - <element name="bar" type="string"/> - </sequence> - </complexType> - -</schema> diff --git a/test/schemas/union2_1.xml b/test/schemas/union2_1.xml deleted file mode 100644 index e148080..0000000 --- a/test/schemas/union2_1.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0"?> -<ELEMENTS xmlns="urn:test:foo" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="urn:test:foo union_1.xsd"> - 5 -</ELEMENTS>
\ No newline at end of file diff --git a/test/schemas/union2_1.xsd b/test/schemas/union2_1.xsd deleted file mode 100644 index 6d83726..0000000 --- a/test/schemas/union2_1.xsd +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test:foo"> - <xsd:element name="ELEMENTS"> - <xsd:simpleType> - <xsd:union> - <xsd:simpleType> - <xsd:restriction base="xsd:int"> - <xsd:minInclusive value="10"/> - <xsd:maxInclusive value="20"/> - </xsd:restriction> - </xsd:simpleType> - <xsd:simpleType> - <xsd:restriction base="xsd:int"> - <xsd:minInclusive value="30"/> - <xsd:maxInclusive value="40"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:union> - </xsd:simpleType> - </xsd:element> -</xsd:schema>
\ No newline at end of file diff --git a/test/schemas/union_0_0.xml b/test/schemas/union_0_0.xml deleted file mode 100644 index 1a47763..0000000 --- a/test/schemas/union_0_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<foo xmlns="http://foo" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://foo union_0_0.xsd"> - <em>EMP0090</em> - <em>EMP0099</em> -</foo> - diff --git a/test/schemas/union_0_0.xsd b/test/schemas/union_0_0.xsd deleted file mode 100644 index 23e93d1..0000000 --- a/test/schemas/union_0_0.xsd +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://foo" - xmlns="http://foo" - xmlns:a="http://foo"> - - <xsd:element name="foo"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="em" - type="emType" - maxOccurs="unbounded" - form="qualified"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:simpleType name="emp0001_3Type"> - <xsd:restriction base="xsd:ID"> - <xsd:enumeration value="EMP0040"/> - <xsd:enumeration value="EMP0003"/> - <xsd:enumeration value="EMP0004"/> - <xsd:enumeration value="EMP0005"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="emp0004_5Type"> - <xsd:restriction base="xsd:ID"> - <xsd:enumeration value="EMP0002"/> - <xsd:enumeration value="EMP0090"/> - <xsd:enumeration value="EMP0007"/> - </xsd:restriction> - </xsd:simpleType> - - <xsd:simpleType name="unboundedEmType"> - <xsd:union memberTypes="a:emp0001_3Type emp0004_5Type"> - <xsd:simpleType> - <xsd:restriction base="xsd:ID"> - <xsd:enumeration value="EMP0099"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:union> - </xsd:simpleType> - - <xsd:simpleType name="emType"> - <xsd:restriction base="unboundedEmType"> - <xsd:pattern value="EMP[0-9]*"/> - </xsd:restriction> - </xsd:simpleType> - - - -</xsd:schema> diff --git a/test/schemas/vdv-complexTypes.xsd b/test/schemas/vdv-complexTypes.xsd deleted file mode 100644 index cd40fb8..0000000 --- a/test/schemas/vdv-complexTypes.xsd +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/complexTypes.xsd,v 1.1 2001/11/26 13:27:07 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-
- <xs:complexType name="elementWithID">
- <xs:attribute ref="id"/>
- </xs:complexType>
- <xs:complexType name="bookTmp">
- <xs:complexContent>
- <xs:extension base="elementWithID">
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute ref="available"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="personType">
- <xs:complexContent>
- <xs:extension base="elementWithID">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- <xs:element ref="qualification" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
-
-
-</xs:schema>
diff --git a/test/schemas/vdv-first0_0.xml b/test/schemas/vdv-first0_0.xml deleted file mode 100644 index a12bcad..0000000 --- a/test/schemas/vdv-first0_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first.xml,v 1.2 2001/11/01 22:03:06 vdv Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first0_0.xsd b/test/schemas/vdv-first0_0.xsd deleted file mode 100644 index e58bed2..0000000 --- a/test/schemas/vdv-first0_0.xsd +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:element name="name" type="xs:string"/>
- <xs:element name="qualification" type="xs:string"/>
- <xs:element name="born" type="xs:date"/>
- <xs:element name="dead" type="xs:date"/>
- <xs:element name="isbn" type="xs:integer"/>
-
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- <xs:attribute name="lang" type="xs:language"/>
-
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute ref="lang"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="book" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="author">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="book">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- <xs:attribute ref="available"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="character">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="qualification"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/test/schemas/vdv-first1_0.xml b/test/schemas/vdv-first1_0.xml deleted file mode 100644 index a12bcad..0000000 --- a/test/schemas/vdv-first1_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first.xml,v 1.2 2001/11/01 22:03:06 vdv Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first1_0.xsd b/test/schemas/vdv-first1_0.xsd deleted file mode 100644 index c0d6f27..0000000 --- a/test/schemas/vdv-first1_0.xsd +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="book" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="isbn" type="xs:integer"/>
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:string">
- <xs:attribute name="lang" type="xs:language"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="author" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="born" type="xs:date"/>
- <xs:element name="dead" type="xs:date"/>
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="character" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="name" type="xs:string"/>
- <xs:element name="born" type="xs:date"/>
- <xs:element name="qualification" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-</xs:schema>
diff --git a/test/schemas/vdv-first2_0.xml b/test/schemas/vdv-first2_0.xml deleted file mode 100644 index a12bcad..0000000 --- a/test/schemas/vdv-first2_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first.xml,v 1.2 2001/11/01 22:03:06 vdv Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first2_0.xsd b/test/schemas/vdv-first2_0.xsd deleted file mode 100644 index c768e97..0000000 --- a/test/schemas/vdv-first2_0.xsd +++ /dev/null @@ -1,89 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first-user-dt.xsd,v 1.1 2001/11/01 12:27:47 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:simpleType name="string255">
- <xs:restriction base="xs:token">
- <xs:maxLength value="255"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="string32">
- <xs:restriction base="xs:token">
- <xs:maxLength value="32"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="isbn">
- <xs:restriction base="xs:unsignedLong">
- <xs:totalDigits value="10"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="supportedLanguages">
- <xs:restriction base="xs:language">
- <xs:enumeration value="en"/>
- <xs:enumeration value="es"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="name" type="string32"/>
- <xs:element name="qualification" type="string255"/>
- <xs:element name="born" type="xs:date"/>
- <xs:element name="dead" type="xs:date"/>
- <xs:element name="isbn" type="isbn"/>
-
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- <xs:attribute name="lang" type="supportedLanguages"/>
-
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="string255">
- <xs:attribute ref="lang"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="book" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="author">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="book">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- <xs:attribute ref="available"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="character">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="qualification"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/test/schemas/vdv-first3_0.xml b/test/schemas/vdv-first3_0.xml deleted file mode 100644 index a12bcad..0000000 --- a/test/schemas/vdv-first3_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first.xml,v 1.2 2001/11/01 22:03:06 vdv Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first3_0.xsd b/test/schemas/vdv-first3_0.xsd deleted file mode 100644 index 18b1459..0000000 --- a/test/schemas/vdv-first3_0.xsd +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first-token.xsd,v 1.2 2001/11/01 12:27:47 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:element name="name" type="xs:token"/>
- <xs:element name="qualification" type="xs:token"/>
- <xs:element name="born" type="xs:date"/>
- <xs:element name="dead" type="xs:date"/>
- <xs:element name="isbn" type="xs:unsignedLong"/>
-
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- <xs:attribute name="lang" type="xs:language"/>
-
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="xs:token">
- <xs:attribute ref="lang"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="book" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="author">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="book">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- <xs:attribute ref="available"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="character">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="qualification"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/test/schemas/vdv-first4_0.xml b/test/schemas/vdv-first4_0.xml deleted file mode 100644 index 0b2d7e2..0000000 --- a/test/schemas/vdv-first4_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first4_0.xsd b/test/schemas/vdv-first4_0.xsd deleted file mode 100755 index 9e8e236..0000000 --- a/test/schemas/vdv-first4_0.xsd +++ /dev/null @@ -1,150 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first-complex-types.xsd,v 1.1 2001/11/12 20:54:00 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:simpleType name="string255">
- <xs:restriction base="xs:token">
- <xs:maxLength value="255"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="string32">
- <xs:restriction base="xs:token">
- <xs:maxLength value="32"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="isbn">
- <xs:restriction base="xs:unsignedLong">
- <xs:totalDigits value="10"/>
- <xs:pattern value="\d{10}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="bookID">
- <xs:restriction base="xs:ID">
- <xs:pattern value="b\d{10}"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="supportedLanguages">
- <xs:restriction base="xs:language">
- <xs:enumeration value="en"/>
- <xs:enumeration value="es"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:simpleType name="date">
- <xs:restriction base="xs:date">
- <xs:pattern value="[^:Z]*"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:element name="name" type="string32"/>
- <xs:element name="qualification" type="string255"/>
- <xs:element name="born" type="date"/>
- <xs:element name="dead" type="date"/>
- <xs:element name="isbn" type="isbn"/>
-
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- <xs:attribute name="lang" type="supportedLanguages"/>
-
- <xs:complexType name="elementWithID">
- <xs:attribute ref="id"/>
- </xs:complexType>
-
- <xs:complexType name="bookTmp">
- <xs:complexContent>
- <xs:extension base="elementWithID">
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute ref="available"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
-
- <xs:complexType name="personType">
- <xs:complexContent>
- <xs:extension base="elementWithID">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- <xs:element ref="qualification" minOccurs="0"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
-
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="string255">
- <xs:attribute ref="lang"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="book" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="book">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="bookTmp">
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="id" type="bookID"/>
- <xs:attribute ref="available"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="author">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="personType">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
-
- <xs:element name="character">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="personType">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="qualification"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/test/schemas/vdv-first4_1.xml b/test/schemas/vdv-first4_1.xml deleted file mode 100644 index 1259ef2..0000000 --- a/test/schemas/vdv-first4_1.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>196T6-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first4_2.xml b/test/schemas/vdv-first4_2.xml deleted file mode 100644 index c4acce6..0000000 --- a/test/schemas/vdv-first4_2.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first3_0.xml,v 1.1 2003/11/22 20:37:51 veillard Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>2000-01-20Z</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first5_0.xml b/test/schemas/vdv-first5_0.xml deleted file mode 100644 index 7d4e662..0000000 --- a/test/schemas/vdv-first5_0.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /cvs/gnome/gnome-xml/test/schemas/vdv-first0_0.xml,v 1.1 2003/11/22 20:37:51 veillard Exp $ -->
-<library>
- <book id="b0836217462" available="true">
- <isbn>0836217462</isbn>
- <title lang="en">Being a Dog Is a Full-Time Job</title>
- <author id="CMS">
- <name>Charles M Schulz</name>
- <born>1922-11-26</born>
- <dead>2000-02-12</dead>
- </author>
- <character id="PP">
- <name>Peppermint Patty</name>
- <born>1966-08-22</born>
- <qualification>bold, brash and tomboyish</qualification>
- </character>
- <character id="Snoopy">
- <name>Snoopy</name>
- <born>1950-10-04</born>
- <qualification>extroverted beagle</qualification>
- </character>
- <character id="Schroeder">
- <name>Schroeder</name>
- <born>1951-05-30</born>
- <qualification>brought classical music to the Peanuts strip</qualification>
- </character>
- <character id="Lucy">
- <name>Lucy</name>
- <born>1952-03-03</born>
- <qualification>bossy, crabby and selfish</qualification>
- </character>
- </book>
-</library>
diff --git a/test/schemas/vdv-first5_0.xsd b/test/schemas/vdv-first5_0.xsd deleted file mode 100644 index 6d5ffaa..0000000 --- a/test/schemas/vdv-first5_0.xsd +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/first-building-blocks.xsd,v 1.1 2001/11/26 13:27:07 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
-<xs:include schemaLocation="vdv-simpleTypes.xsd"/>
-<xs:include schemaLocation="vdv-complexTypes.xsd"/>
-
- <xs:element name="name" type="string32"/>
- <xs:element name="qualification" type="string255"/>
- <xs:element name="born" type="date"/>
- <xs:element name="dead" type="date"/>
- <xs:element name="isbn" type="isbn"/>
-
- <xs:attribute name="id" type="xs:ID"/>
- <xs:attribute name="available" type="xs:boolean"/>
- <xs:attribute name="lang" type="supportedLanguages"/>
-
-
- <xs:element name="title">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="string255">
- <xs:attribute ref="lang"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="library">
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="book" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="book">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="bookTmp">
- <xs:sequence>
- <xs:element ref="isbn"/>
- <xs:element ref="title"/>
- <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="character" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="id" type="bookID"/>
- <xs:attribute ref="available"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="author">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="personType">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="dead" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
-
- <xs:element name="character">
- <xs:complexType>
- <xs:complexContent>
- <xs:restriction base="personType">
- <xs:sequence>
- <xs:element ref="name"/>
- <xs:element ref="born"/>
- <xs:element ref="qualification"/>
- </xs:sequence>
- <xs:attribute ref="id"/>
- </xs:restriction>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
-
-</xs:schema>
diff --git a/test/schemas/vdv-simpleTypes.xsd b/test/schemas/vdv-simpleTypes.xsd deleted file mode 100644 index 79f95fd..0000000 --- a/test/schemas/vdv-simpleTypes.xsd +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /home/cvsroot/w3c-xml-schema/user/examples/simpleTypes.xsd,v 1.1 2001/11/26 13:27:08 vdv Exp $ -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
- <xs:simpleType name="string255">
- <xs:restriction base="xs:token">
- <xs:maxLength value="255"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="string32">
- <xs:restriction base="xs:token">
- <xs:maxLength value="32"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="isbn">
- <xs:restriction base="xs:unsignedLong">
- <xs:totalDigits value="10"/>
- <xs:pattern value="\d{10}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="bookID">
- <xs:restriction base="xs:ID">
- <xs:pattern value="b\d{10}"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="supportedLanguages">
- <xs:restriction base="xs:language">
- <xs:enumeration value="en"/>
- <xs:enumeration value="es"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="date">
- <xs:restriction base="xs:date">
- <xs:pattern value="[^:Z]*"/>
- </xs:restriction>
- </xs:simpleType>
-
-</xs:schema>
diff --git a/test/schemas/xml.xsd b/test/schemas/xml.xsd deleted file mode 100644 index e49fff8..0000000 --- a/test/schemas/xml.xsd +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version='1.0' encoding="ISO-8859-1"?> -<!--!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" --> -<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en"> - - <xs:annotation> - <xs:documentation> - See http://www.w3.org/XML/1998/namespace.html and - http://www.w3.org/TR/REC-xml for information about this namespace. - - This schema document describes the XML namespace, in a form - suitable for import by other schema documents. - - Note that local names in this namespace are intended to be defined - only by the World Wide Web Consortium or its subgroups. The - following names are currently defined in this namespace and should - not be used with conflicting semantics by any Working Group, - specification, or document instance: - - base (as an attribute name): denotes an attribute whose value - provides a URI to be used as the base for interpreting any - relative URIs in the scope of the element on which it - appears; its value is inherited. This name is reserved - by virtue of its definition in the XML Base specification. - - lang (as an attribute name): denotes an attribute whose value - is a language code for the natural language of the content of - any element; its value is inherited. This name is reserved - by virtue of its definition in the XML specification. - - space (as an attribute name): denotes an attribute whose - value is a keyword indicating what whitespace processing - discipline is intended for the content of the element; its - value is inherited. This name is reserved by virtue of its - definition in the XML specification. - - Father (in any context at all): denotes Jon Bosak, the chair of - the original XML Working Group. This name is reserved by - the following decision of the W3C XML Plenary and - XML Coordination groups: - - In appreciation for his vision, leadership and dedication - the W3C XML Plenary on this 10th day of February, 2000 - reserves for Jon Bosak in perpetuity the XML name - xml:Father - </xs:documentation> - </xs:annotation> - - <xs:annotation> - <xs:documentation>This schema defines attributes and an attribute group - suitable for use by - schemas wishing to allow xml:base, xml:lang or xml:space attributes - on elements they define. - - To enable this, such a schema must import this schema - for the XML namespace, e.g. as follows: - <schema . . .> - . . . - <import namespace="http://www.w3.org/XML/1998/namespace" - schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> - - Subsequently, qualified reference to any of the attributes - or the group defined below will have the desired effect, e.g. - - <type . . .> - . . . - <attributeGroup ref="xml:specialAttrs"/> - - will define a type which will schema-validate an instance - element with any of those attributes</xs:documentation> - </xs:annotation> - - <xs:annotation> - <xs:documentation>In keeping with the XML Schema WG's standard versioning - policy, this schema document will persist at - http://www.w3.org/2001/03/xml.xsd. - At the date of issue it can also be found at - http://www.w3.org/2001/xml.xsd. - The schema document at that URI may however change in the future, - in order to remain compatible with the latest version of XML Schema - itself. In other words, if the XML Schema namespace changes, the version - of this document at - http://www.w3.org/2001/xml.xsd will change - accordingly; the version at - http://www.w3.org/2001/03/xml.xsd will not change. - </xs:documentation> - </xs:annotation> - - <xs:attribute name="lang" type="xs:language"> - <xs:annotation> - <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter - codes as the enumerated possible values . . .</xs:documentation> - </xs:annotation> - </xs:attribute> - - <xs:attribute name="space" default="preserve"> - <xs:simpleType> - <xs:restriction base="xs:NCName"> - <xs:enumeration value="default"/> - <xs:enumeration value="preserve"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - - <xs:attribute name="base" type="xs:anyURI"> - <xs:annotation> - <xs:documentation>See http://www.w3.org/TR/xmlbase/ for - information about this attribute.</xs:documentation> - </xs:annotation> - </xs:attribute> - - <xs:attributeGroup name="specialAttrs"> - <xs:attribute ref="xml:base"/> - <xs:attribute ref="xml:lang"/> - <xs:attribute ref="xml:space"/> - </xs:attributeGroup> - -</xs:schema> diff --git a/test/schemas/xsd-list-itemType_0.xml b/test/schemas/xsd-list-itemType_0.xml deleted file mode 100644 index a20e408..0000000 --- a/test/schemas/xsd-list-itemType_0.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- This is the test data for the check of the implementation of the "itemType" attribute of the xsd:list element. --> -<foo xmlns="http://FOO">tea for two and two for tea</foo> diff --git a/test/schemas/xsd-list-itemType_0.xsd b/test/schemas/xsd-list-itemType_0.xsd deleted file mode 100644 index b96dbb4..0000000 --- a/test/schemas/xsd-list-itemType_0.xsd +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> - -<!-- This test checks the implementation of the "itemType" attribute of the xsd:list element. --> - -<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://FOO" xmlns:foo="http://FOO"> - - <element name="foo"> - <simpleType> - <list itemType="string"/> - </simpleType> - </element> - - -</schema>
\ No newline at end of file diff --git a/test/schemas/xsd-simpleType-varieties_0.xml b/test/schemas/xsd-simpleType-varieties_0.xml deleted file mode 100644 index 83a0b2a..0000000 --- a/test/schemas/xsd-simpleType-varieties_0.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- This is the test data for the check of the implementation of varieties of xsd:simpleType element. --> -<foo xmlns="http://FOO"> - <barA>fajita</barA> - <barB>pub pub</barB> - <barC><![CDATA[tequilla]]></barC> -</foo> - diff --git a/test/schemas/xsd-simpleType-varieties_0.xsd b/test/schemas/xsd-simpleType-varieties_0.xsd deleted file mode 100644 index 8a752e2..0000000 --- a/test/schemas/xsd-simpleType-varieties_0.xsd +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> - -<!-- This test checks the implementation of the varieties of the xsd:simpleType element. --> - -<schema xmlns="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://FOO" xmlns:foo="http://FOO" - elementFormDefault="qualified"> - - <element name="foo"> - <complexType> - <sequence maxOccurs="unbounded"> - <element name="barA"> - <simpleType> - <union memberTypes="foo:typeA foo:typeB"/> - </simpleType> - </element> - <element name="barB"> - <simpleType> - <list itemType="foo:typeA"/> - </simpleType> - </element> - <element name="barC"> - <simpleType> - <restriction base="string"> - <enumeration value="tequilla"/> - </restriction> - </simpleType> - </element> - </sequence> - </complexType> - </element> - - <simpleType name="typeA"> - <restriction base="string"> - <enumeration value="pub"/> - </restriction> - </simpleType> - - <simpleType name="typeB"> - <restriction base="string"> - <enumeration value="fajita"/> - </restriction> - </simpleType> - -</schema> |