Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)idc006.nogen.n00.xml 1.3 02/12/25 + +--> + +<!-- undefined key --> +<root xmlns="http://www.publishing.org"> + + <keys> + <a/> + </keys> + + <keyref>id1</keyref> +</root>
Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,26 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)idc006.nogen.n01.xml 1.3 02/12/25 + +--> + +<root xmlns="http://www.publishing.org"> + + <keys> + <a> + <a> + <b id="id1"> + <b id="id2" /> + <b> + <b id="id3" /> <!-- don't be fooled! --> + </b> + </b> + </a> + </a> + </keys> + + <keyref>id1</keyref> + <keyref>id2</keyref> + <keyref>id3</keyref> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,22 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)idc006.nogen.v00.xml 1.4 03/10/10 + +--> + +<p:root xmlns:p="http://www.publishing.org"> + + <p:keys> + <p:a> + <p:a> + <p:b id="id1"> + <p:b id="id2" /> + </p:b> + </p:a> + </p:a> + </p:keys> + + <p:keyref>id1</p:keyref> + <p:keyref>id2</p:keyref> +</p:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/identity/idc006/idc006.nogen.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)idc006.nogen.xsd 1.4 03/10/10 + +--> + +<!-- + XPath engine test: ".//a/*/b" and use of "." for both selector and field. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.publishing.org" + xmlns:p="http://www.publishing.org" + elementFormDefault="qualified"> + + <xsd:element name="root"> + <xsd:complexType> + <xsd:sequence> + <!-- define keys in this element --> + <xsd:element name="keys"> + <xsd:complexType> + <xsd:sequence> + <xsd:any processContents="lax" maxOccurs="unbounded" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + <!-- define keyrefs in this element --> + <xsd:element name="keyref" maxOccurs="unbounded" minOccurs="0" type="xsd:string" /> + </xsd:sequence> + </xsd:complexType> + + <xsd:key name="trickyKey"> + <xsd:selector xpath=".//p:keys/p:a/*/p:b|.//p:keys/p:a/*/*/p:b" /> + <xsd:field xpath="@id" /> + </xsd:key> + + <xsd:keyref name="trickeyRef" refer="p:trickyKey"> + <xsd:selector xpath=".//p:keyref|.//p:keyref|./p:keyref|./p:keyref" /> + <!-- should be considered equal to "." --> + <xsd:field xpath="." /> + </xsd:keyref> + + </xsd:element> + + <xsd:element name="b"> + <xsd:complexType> + <xsd:sequence> + <xsd:element ref="p:b" minOccurs="0"/> + </xsd:sequence> + <xsd:attribute name="id" type="xsd:string"/> + </xsd:complexType> + </xsd:element> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n00.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <!-- # of child must be at least 3 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,18 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n01.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child> </child> + <child>10atmost </child> + <!-- # of child must be at most 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n02.xml 1.3 02/12/25 + +--> + +<!-- @attr must be at least 5 characters long --> +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="1234"> jjj </child> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n03.xml 1.3 02/12/25 + +--> + +<!-- @attr must be at most 10 characters --> +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="1234567890-"> jjj </child> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n04.xml 1.3 02/12/25 + +--> + +<!-- content of child must be at least 3 characters long --> +<foo:root xmlns:foo="http://foo.com"> + <child /> + <child>atleast3</child> + <child>10atmost </child> + <child attr="12345"> jjj </child> + <!-- # of child must be 3 to 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n05.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n05.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n05.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n05.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n05.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child>1234567890-</child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="12345"> jjj </child> + <!-- # of child must be 3 to 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n06.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n06.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n06.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n06.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n06.xml 1.3 02/12/25 + +--> + +<!-- content of child must be at least 3 characters long --> +<foo:root xmlns:foo="http://foo.com"> + <child>--</child> + <child>atleast3</child> + <child attr="12345"> jjj </child> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n07.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n07.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n07.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.n07.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.n07.xml 1.3 02/12/25 + +--> + +<!-- child must be unqualified --> +<foo:root xmlns:foo="http://foo.com"> + <foo:child> </foo:child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="12345"> jjj </child> + <!-- # of child must be 3 to 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.v00.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="12345"> jjj </child> + <!-- # of child must be 3 to 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.v01.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <!-- # of child must be at least 3 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.v02.xml 1.3 02/12/25 + +--> + +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child> </child> + <!-- # of child must be at most 7 --> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.v03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd001.v03.xml 1.3 02/12/25 + +--> + +<!-- @attr must be at most 10 characters --> +<foo:root xmlns:foo="http://foo.com"> + <child> </child> + <child>atleast3</child> + <child>10atmost </child> + <child attr="1234567890"> jjj </child> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd001/xsd001.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd001.xsd 1.3 02/12/25 + +--> + +<!-- +highlight of this test: + - use of elementFormDefault="unqualified" + - unusual minOccurs/maxOccurs (3 and 7 respectively) + - complexType with simpleContent, and restriction. + - simpleType within restriction. +--> +<xsd:schema targetNamespace="http://foo.com" xmlns="http://foo.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"> + <xsd:element name="root"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="child" minOccurs="3" maxOccurs="7"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="mytype"> + <xsd:attribute name="attr" use="optional"> + <xsd:simpleType> + <xsd:restriction> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:minLength value="3"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:maxLength value="10"/> + <xsd:minLength value="5"/> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:sequence> + </xsd:complexType> + </xsd:element> +<xsd:simpleType name="mytype"> + <xsd:restriction base="xsd:string"> + <xsd:minLength value="3"/> + <xsd:maxLength value="10"/> + </xsd:restriction> +</xsd:simpleType> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,10 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd002.n00.xml 1.3 02/12/25 + +--> + +<f:root xmlns:f="http://foo.com"> + <f:foo /> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,10 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd002.n01.xml 1.3 02/12/25 + +--> + +<f:root xmlns:f="http://foo.com"> + <bar /> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,10 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd002.n02.xml 1.3 02/12/25 + +--> + +<f:root xmlns:f="http://foo.com"> + <f:zot /> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd002.v00.xml 1.3 02/12/25 + +--> + +<f:root xmlns:f="http://foo.com"> + <foo /> + <f:bar /> + <zot /> + <foo /> + <x:bar xmlns:x="http://foo.com" /> + <zot /> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.v01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,20 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd002.v01.xml 1.3 02/12/25 + +--> + +<f:root xmlns:f="http://foo.com"> + <foo> + <this /> + <contents /> + should not be + validated + <because it="is ur-type" /> + </foo> + <f:bar /> + <zot attributes="are" also="ignored"> + when using <ur><type/></ur> + </zot> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd002/xsd002.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd002.xsd 1.3 02/12/25 + +--> + +<!-- +highlight of this test: + - use of elementFormDefault and form attribute. + - implicit use of "ur-type" as the content model of element. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://foo.com" + xmlns="http://foo.com" + elementFormDefault="unqualified"> + + <xsd:element name="root"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="foo" /> + <xsd:element name="bar" form="qualified" /> + <xsd:element name="zot" form="unqualified" /> + </xsd:choice> + </xsd:complexType> + </xsd:element> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-1.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-1.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-1.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-1.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd003-1.e.xsd 1.3 02/12/25 + +--> + +<!-- + unable to redefine element +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:redefine schemaLocation="xsd003.xsdmod"> + <xsd:element name="root" /> + </xsd:redefine> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-2.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-2.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-2.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003-2.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd003-2.e.xsd 1.3 02/12/25 + +--> + +<!-- + unable to redefine element +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:redefine schemaLocation="xsd003.xsdmod"> + <xsd:attribute name="gAtt" type="simpleType" /> + </xsd:redefine> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003/xsd003.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + definition in this file will be redefined. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:simpleType name="simpleType"> + <xsd:restriction base="xsd:string" /> + </xsd:simpleType> + + <xsd:element name="root" type="complexType" /> + + <xsd:attribute name="gAtt" type="simpleType" /> + + <xsd:group name="group"> + <xsd:sequence> + <xsd:element ref="root" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + </xsd:group> + + <xsd:complexType name="complexType"> + <xsd:group ref="group" /> + <xsd:attributeGroup ref="attGroup" /> + </xsd:complexType> + + <xsd:attributeGroup name="attGroup"> + <xsd:attribute ref="gAtt" use="optional" /> + </xsd:attributeGroup> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + definition in this file will be redefined. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:simpleType name="simpleType"> + <xsd:restriction base="xsd:string" /> + </xsd:simpleType> + + <xsd:element name="root" type="complexType" /> + + <xsd:attribute name="gAtt" type="simpleType" /> + + <xsd:group name="group"> + <xsd:sequence> + <xsd:element ref="root" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + </xsd:group> + + <xsd:complexType name="complexType"> + <xsd:group ref="group" /> + <xsd:attributeGroup ref="attGroup" /> + </xsd:complexType> + + <xsd:attributeGroup name="attGroup"> + <xsd:attribute ref="gAtt" use="optional" /> + </xsd:attributeGroup> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd003a.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" foo:gAtt="anything" xmlns:foo="foo"> + <root /> + <root /> + <root /> + <root /> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003a/xsd003a.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd003a.xsd 1.3 02/12/25 + +--> + +<!-- + test without redefinition. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:redefine schemaLocation="xsd003.xsdmod" /> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + definition in this file will be redefined. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:simpleType name="simpleType"> + <xsd:restriction base="xsd:string" /> + </xsd:simpleType> + + <xsd:element name="root" type="complexType" /> + + <xsd:attribute name="gAtt" type="simpleType" /> + + <xsd:group name="group"> + <xsd:sequence> + <xsd:element ref="root" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + </xsd:group> + + <xsd:complexType name="complexType"> + <xsd:group ref="group" /> + <xsd:attributeGroup ref="attGroup" /> + </xsd:complexType> + + <xsd:attributeGroup name="attGroup"> + <xsd:attribute ref="gAtt" use="optional" /> + </xsd:attributeGroup> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd003b.e.xsd 1.3 02/12/25 + +--> + +<!-- + test with redefinition with self-reference. + + undefined name. For some reason, this breaks MSV. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:redefine schemaLocation="xsd003.xsdmod"> + + <xsd:simpleType name="simpleType"> + <xsd:restriction base="simpleType"> + <xsd:enumeration value="yes" /> + <xsd:enumeration value="no" /> + </xsd:restriction> + </xsd:simpleType> + + <xsd:group name="group"> + <xsd:sequence> + <xsd:element name="in" /> + <xsd:group ref="group" /> + <xsd:element name="out" /> + </xsd:sequence> + </xsd:group> + + <xsd:complexType name="complexType"> + <xsd:complexContent> + <xsd:extension base="complexType"> + <xsd:sequence> + <xsd:element name="tail" /> + </xsd:sequence> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + + <xsd:attributeGroup name="attGroup"> + <xsd:attributeGroup ref="attGroup" /> + <xsd:attribute name="add" use="optional" type="xsd:undefined" /> + </xsd:attributeGroup> + </xsd:redefine> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd003b.n00.xml 1.3 02/12/25 + +--> + +<!-- @add must be number --> +<root xmlns="foo" add="abc"> + <in /> + <out /> + <tail /> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd003b.n01.xml 1.3 02/12/25 + +--> + +<!-- @gAtt is redefined to allow yes/no only --> +<root xmlns="foo" foo:gAtt="joe" xmlns:foo="foo"> + <in /> + <out /> + <tail /> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd003b.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" add="5.2"> + <in /> + <out /> + <tail /> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.v01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd003b.v01.xml 1.3 02/12/25 + +--> + +<!-- @gAtt is redefined to allow yes/no only --> +<root xmlns="foo" foo:gAtt="yes" xmlns:foo="foo"> + <in /> + <out /> + <tail /> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd003b/xsd003b.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd003b.xsd 1.3 02/12/25 + +--> + +<!-- + test with redefinition with self-reference. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" xmlns="foo" + elementFormDefault="qualified"> + + <xsd:redefine schemaLocation="xsd003.xsdmod"> + + <xsd:simpleType name="simpleType"> + <xsd:restriction base="simpleType"> + <xsd:enumeration value="yes" /> + <xsd:enumeration value="no" /> + </xsd:restriction> + </xsd:simpleType> + + <xsd:group name="group"> + <xsd:sequence> + <xsd:element name="in" /> + <xsd:group ref="group" /> + <xsd:element name="out" /> + </xsd:sequence> + </xsd:group> + + <xsd:complexType name="complexType"> + <xsd:complexContent> + <xsd:extension base="complexType"> + <xsd:sequence> + <xsd:element name="tail" /> + </xsd:sequence> + </xsd:extension> + </xsd:complexContent> + </xsd:complexType> + + <xsd:attributeGroup name="attGroup"> + <xsd:attributeGroup ref="attGroup" /> + <xsd:attribute name="add" use="optional" type="xsd:decimal" /> + </xsd:attributeGroup> + </xsd:redefine> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,21 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n00.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:laxAny> + <foo:undeclared /> + <bar:undefined /> + <bar:a> <!-- bar:a has corresponding declaration --> + <illegal /> + </bar:a> + </foo:laxAny> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n01.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:strictAny> + <bar:undefined /> + </foo:strictAny> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n02.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipOther> + <foo:root /> + </foo:skipOther> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n03.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipOther> + <foo:undeclared /> + </foo:skipOther> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n04.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipAny> + text is not allowed at the top level + </foo:skipAny> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n05.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n05.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n05.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n05.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n05.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:laxLocal> + <foo:root /> + </foo:laxLocal> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n06.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n06.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n06.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n06.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n06.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:laxLocal> + <bar:a /> + </foo:laxLocal> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n07.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n07.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n07.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n07.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n07.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:laxLocal> + <zot:undeclared /> + </foo:laxLocal> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n08.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n08.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n08.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n08.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n08.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:strictTarget> + <foo:undeclared /> + </foo:strictTarget> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n09.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n09.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n09.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n09.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n09.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:strictTarget> + <bar:a /> <!-- not in the target namespace --> + </foo:strictTarget> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n10.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n10.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n10.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n10.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n10.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:strictTarget> + <unqualified /> <!-- not in the target namespace --> + </foo:strictTarget> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n11.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n11.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n11.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n11.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n11.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipBar> + <foo:root /> <!-- not in namespace bar --> + </foo:skipBar> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n12.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n12.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n12.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.n12.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.n12.xml 1.3 02/12/25 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipBar> + <unqualified /> <!-- not in namespace bar --> + </foo:skipBar> + +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,64 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd004.v00.xml 1.4 03/10/10 + +--> + +<foo:root + xmlns:foo="foo" + xmlns:bar="bar" + xmlns:zot="zot"> + + <foo:skipAny> + <foo:root> + <foo:child /> + <bar:nocheck> + <zot:nocheck /> + </bar:nocheck> + mixed is also allowed? + </foo:root> + </foo:skipAny> + + <foo:laxAny> + <foo:undeclared> + <bar:a /> + <undefined /> + </foo:undeclared> + </foo:laxAny> + + <foo:strictAny> + <bar:c /> + <zot:b /> + <zot:c /> + </foo:strictAny> + + <foo:skipOther> + <undeclared xmlns="bob" /> + <anyThing xmlns="nowhere" /> + <asLongAsInOtherNS xmlns="other1"/> + <zot:a> + <zot:a /> + </zot:a> + </foo:skipOther> + + <foo:laxLocal> + <undeclaredOnly /> + <butLaxlyValidated /> + </foo:laxLocal> + + <foo:strictTarget> + <foo:root /> + <foo:root /> + <foo:root /> + </foo:strictTarget> + + <foo:skipBar> + <bar:everything /> + <bar:in /> + <bar:bar /> + <bar:a> + <bar:ignore /> + </bar:a> + </foo:skipBar> +</foo:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd004.xsd 1.3 02/12/25 + +--> + +<!-- highlight of this test + + use of three different type of any element, + with different @namespace. +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <xsd:import namespace="bar" schemaLocation="xsd004a.xsdmod" /> + <xsd:import namespace="zot" schemaLocation="xsd004b.xsdmod" /> + + <xsd:element name="root"> + <xsd:complexType> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="skipAny"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="skip" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="laxAny"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="lax" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="strictAny"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="strict" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + + <xsd:element name="skipOther"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="skip" namespace="##other" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="laxLocal"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="lax" namespace="##local" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="strictTarget"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="strict" namespace="##targetNamespace" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + <xsd:element name="skipBar"> + <xsd:complexType> + <xsd:sequence> + <xsd:any maxOccurs="unbounded" processContents="skip" namespace="bar" /> + </xsd:sequence> + </xsd:complexType> + </xsd:element> + + </xsd:choice> + </xsd:complexType> + </xsd:element> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004a.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004a.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004a.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004a.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="bar" xmlns="bar" + elementFormDefault="qualified"> + + <xsd:element name="a" type="xsd:string" /> + <xsd:element name="b" type="xsd:string" /> + <xsd:element name="c" type="xsd:string" /> + + <xsd:attribute name="x" type="xsd:string" /> + <xsd:attribute name="y" type="xsd:string" /> + <xsd:attribute name="z" type="xsd:string" /> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004b.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004b.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004b.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd004/xsd004b.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="zot" xmlns="zot" + elementFormDefault="qualified"> + + <xsd:element name="a" type="xsd:string" /> + <xsd:element name="b" type="xsd:string" /> + <xsd:element name="c" type="xsd:string" /> + + <xsd:attribute name="x" type="xsd:string" /> + <xsd:attribute name="y" type="xsd:string" /> + <xsd:attribute name="z" type="xsd:string" /> + +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n00.xml 1.3 03/10/10 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- missing content model --> + <item /> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n01.xml 1.3 03/10/10 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- undeclared type name --> + <item xsi:type="undeclared"> + <a/><b/><c/> + </item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n02.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- more than one "b" --> + <item> + <a/><b/><b/><c/> + </item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n03.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- b is prohibited for type rst --> + <item xsi:type="rst"> + <a/><b/><c/> + </item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n04.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- missing xsi:type --> + <item> + <a/><c/><d/><e/> + </item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n05.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n05.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n05.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n05.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,20 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n05.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- don't be fooled! xsi:type is a QName --> + <foo:item xmlns:foo="foo" xmlns="unknown" + xsi:type="ext"> + <foo:a/> + <foo:b/> + <foo:c/> + <foo:d/> + <foo:e/> + </foo:item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n06.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n06.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n06.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.n06.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.n06.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <!-- d and e are missing --> + <item xsi:type="ext"> + <a/><b/><c/> + </item> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,28 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd005.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <item> + <a/><b/><c/> + </item> + <item> + <a/><c/> + </item> + <item xsi:type="rst"> + <a/><c/> + </item> + <item xsi:type="prefix:rst" xmlns:prefix="foo"> + <a/><c/> + </item> + <item xsi:type="ext"> + <a/><b/><c/><d/><e/> + </item> + <item xsi:type="ext"> + <a/><c/><d/><e/> + </item> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd005/xsd005.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd005.xsd 1.3 03/10/10 + +--> + +<!-- highlight of this test + + complexType derivation. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <sequence> + <element name="item" type="foo:base" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> + + <complexType name="base"> + <sequence> + <element name="a" /> + <element name="b" minOccurs="0" /> + <element name="c" /> + </sequence> + </complexType> + + <complexType name="rst"> + <complexContent> + <restriction base="foo:base"> + <sequence> + <element name="a" /> + <element name="c" /> + </sequence> + </restriction> + </complexContent> + </complexType> + + <complexType name="ext"> + <complexContent> + <extension base="foo:base"> + <sequence> + <element name="d" /> + <element name="e" /> + </sequence> + </extension> + </complexContent> + </complexType> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item0to1> + <x/><x/> + </item0to1> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n01.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item0to2> + <x/><x/><x/> + </item0to2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n02.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item1to2> + </item1to2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n03.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item1to2> + <x/><x/><x/> + </item1to2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n04.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item1toX> + </item1toX> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n05.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n05.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n05.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n05.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n05.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item2to2> + <x/> + </item2to2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n06.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n06.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n06.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n06.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n06.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item2to2> + <x/><x/><x/> + </item2to2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n07.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n07.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n07.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n07.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n07.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item2toX> + <x/> + </item2toX> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n08.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n08.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n08.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n08.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,13 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n08.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item3to7> + </item3to7> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n09.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n09.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n09.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n09.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n09.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item3to7> + <x/> + </item3to7> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n10.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n10.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n10.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n10.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n10.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item3to7> + <x/><x/> + </item3to7> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n11.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n11.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n11.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.n11.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,14 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.n11.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item3to7> + <x/><x/><x/><x/><x/><x/><x/><x/> + </item3to7> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,105 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd006.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + + <item0to1> + </item0to1> + + <item0to1> + <x/> + </item0to1> + + + <item0to2> + </item0to2> + + <item0to2> + <x/> + </item0to2> + + <item0to2> + <x/><x/> + </item0to2> + + + <item0toX> + </item0toX> + + <item0toX> + <x/> + </item0toX> + + <item0toX> + <x/><x/> + </item0toX> + + <item0toX> + <x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/> + </item0toX> + + + <item1to2> + <x/> + </item1to2> + + <item1to2> + <x/><x/> + </item1to2> + + + <item1toX> + <x/> + </item1toX> + + <item1toX> + <x/><x/> + </item1toX> + + <item1toX> + <x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/> + </item1toX> + + + <item2to2> + <x/><x/> + </item2to2> + + + <item2toX> + <x/><x/> + </item2toX> + + <item2toX> + <x/><x/><x/> + </item2toX> + + <item2toX> + <x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/><x/> + </item2toX> + + <item3to7> + <x/><x/><x/> + </item3to7> + + <item3to7> + <x/><x/><x/><x/> + </item3to7> + + <item3to7> + <x/><x/><x/><x/><x/> + </item3to7> + + <item3to7> + <x/><x/><x/><x/><x/><x/> + </item3to7> + + <item3to7> + <x/><x/><x/><x/><x/><x/><x/> + </item3to7> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd006/xsd006.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd006.xsd 1.3 03/10/10 + +--> + +<!-- highlight of this test + + various combination of minOccurs/maxOccurs +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <choice maxOccurs="unbounded"> + <element ref="foo:item0to1" /> + <element ref="foo:item0to2" /> + <element ref="foo:item0toX" /> + <element ref="foo:item1to2" /> + <element ref="foo:item1toX" /> + <element ref="foo:item2to2" /> + <element ref="foo:item2toX" /> + <element ref="foo:item3to7" /> + </choice> + </complexType> + </element> + + <element name="item0to1"> + <complexType> + <sequence> + <element name="x" minOccurs="0" /> + </sequence> + </complexType> + </element> + <element name="item0to2"> + <complexType> + <sequence> + <element name="x" minOccurs="0" maxOccurs="2" /> + </sequence> + </complexType> + </element> + <element name="item0toX"> + <complexType> + <sequence> + <element name="x" minOccurs="0" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> + <element name="item1to2"> + <complexType> + <sequence> + <element name="x" maxOccurs="2" /> + </sequence> + </complexType> + </element> + <element name="item1toX"> + <complexType> + <sequence> + <element name="x" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> + <element name="item2to2"> + <complexType> + <sequence> + <element name="x" minOccurs="2" maxOccurs="2" /> + </sequence> + </complexType> + </element> + <element name="item2toX"> + <complexType> + <sequence> + <element name="x" minOccurs="2" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> + <element name="item3to7"> + <complexType> + <sequence> + <element name="x" minOccurs="3" maxOccurs="7" /> + </sequence> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd007/xsd007.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd007/xsd007.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd007/xsd007.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd007/xsd007.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd007.e.xsd 1.3 03/10/10 + +--> + +<!-- highlight of this test + + cyclic complexType derivation. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <sequence> + <element name="item" type="foo:foo" maxOccurs="unbounded" /> + </sequence> + </complexType> + </element> + + <complexType name="foo"> + <complexContent> + <extension base="foo:bar"> + <sequence> + <element name="a" /> + <element name="c" /> + </sequence> + </extension> + </complexContent> + </complexType> + + <complexType name="bar"> + <complexContent> + <extension base="foo:foo"> + <sequence> + <element name="d" /> + <element name="e" /> + </sequence> + </extension> + </complexContent> + </complexType> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd008.n00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <generic> + <facet value="brabra" /> + </generic> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd008.n01.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <restricted> + <facet value="brabra" /> + </restricted> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd008.n02.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <restricted> + <yesNo value="true" /> + </restricted> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,23 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd008.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <generic> + <yesNo value="true" /> + <yesNo value=" false " /> + <long value=" 52 " /> + <long value=" -55555 " /> + <int value=" 52 " /> + <int value=" -55555 " /> + </generic> + <restricted> + <long value=" 52 " /> + <long value=" -55555 " /> + <int value=" 52 " /> + <int value=" -55555 " /> + </restricted> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd008/xsd008.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd008.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - abstract element and element substitution group. +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <xs:element name="root"> + <xs:complexType> + <xs:sequence> + <xs:element ref="generic" minOccurs="0" /> + <xs:element name="restricted" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element ref="long" maxOccurs="unbounded" /> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + + <xs:element name="generic"> + <xs:complexType> + <xs:sequence> + <xs:element ref="facet" maxOccurs="unbounded" /> + </xs:sequence> + </xs:complexType> + </xs:element> + + <xs:complexType name="facet"> + <xs:sequence> + <xs:element name="annotation" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="value" use="required"/> + </xs:complexType> + + <xs:element name="facet" type="facet" abstract="true"/> + + <xs:element name="yesNo" substitutionGroup="facet"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="facet"> + <xs:sequence> + <xs:element name="annotation" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="value" type="xs:boolean" use="required"/> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + + <xs:complexType name="longType"> + <xs:complexContent> + <xs:restriction base="facet"> + <xs:sequence> + <xs:element name="annotation" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="value" type="xs:long" use="required"/> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + + <xs:element name="long" substitutionGroup="facet" type="longType"/> + + <xs:element name="int" substitutionGroup="long"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="longType"> + <xs:sequence> + <xs:element name="annotation" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="value" type="xs:int" use="required"/> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> +</xs:schema> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org