Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd009/xsd009.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd009/xsd009.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd009/xsd009.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd009/xsd009.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd009.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - cyclic substitution group. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="foo" substitutionGroup="foo:bar"> + <complexType> + <sequence> + <any /> + </sequence> + </complexType> + </element> + + <element name="bar" substitutionGroup="foo:foo"> + <complexType> + <sequence> + <any /> + </sequence> + </complexType> + </element> + +</schema>
Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd010/xsd010.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd010/xsd010.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd010/xsd010.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd010/xsd010.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd010.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - cyclic substitution group (3 hop cycle). +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="foo" substitutionGroup="foo:bar"> + <complexType> + <sequence> + <any /> + </sequence> + </complexType> + </element> + + <element name="bar" substitutionGroup="foo:zot"> + <complexType> + <sequence> + <any /> + </sequence> + </complexType> + </element> + + <element name="zot" substitutionGroup="foo:foo"> + <complexType> + <sequence> + <any /> + </sequence> + </complexType> + </element> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.n00.xml 1.3 02/12/25 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <non-nillable> + </non-nillable> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.n01.xml 1.3 02/12/25 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <nillable1> + </nillable1> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.n02.xml 1.3 02/12/25 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <nillable1 xsi:nil="true"> + <x/> + </nillable1> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,15 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.n03.xml 1.3 02/12/25 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <nillable2> + </nillable2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.n04.xml 1.3 02/12/25 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <nillable2 xsi:nil="true"> + 12 12 15 + </nillable2> + +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,27 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd011.v00.xml 1.4 03/10/10 + +--> + +<root + xmlns="foo" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + <non-nillable> + <x/> + </non-nillable> + + <nillable1> + <x/> + </nillable1> + + <nillable1 xsi:nil="true"/> + + <nillable2> + 51 32 59 + </nillable2> + + <nillable2 xsi:nil="true"/> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd011/xsd011.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd011.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - nillable +--> +<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:non-nillable" /> + <element ref="foo:nillable1" /> + <element ref="foo:nillable2" /> + </choice> + </complexType> + </element> + + <element name="non-nillable"> + <complexType> + <sequence> + <element name="x" /> + </sequence> + </complexType> + </element> + + <element name="nillable1" nillable="true"> + <complexType> + <sequence> + <element name="x" /> + </sequence> + </complexType> + </element> + + <element name="nillable2" nillable="true"> + <simpleType> + <restriction> + <simpleType> + <list itemType="int" /> + </simpleType> + <minLength value="2" /> + </restriction> + </simpleType> + </element> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd012.n00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <elementOnly> + <a /> mi <b /> xed <c/> content + </elementOnly> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,20 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd012.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="foo"> + <mixed> + abcdef + </mixed> + + <mixed> + <a /> mi <b /> xed <c/> content + </mixed> + + <elementOnly> + <a/><b/><a/> + </elementOnly> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd012/xsd012.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd012.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - mixed content model +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <choice maxOccurs="unbounded"> + <element name="mixed"> + <complexType mixed="true"> + <choice minOccurs="0" maxOccurs="unbounded"> + <element ref="foo:a" /> + <element ref="foo:b" /> + <element ref="foo:c" /> + </choice> + </complexType> + </element> + <element name="elementOnly"> + <complexType mixed="false"> + <choice minOccurs="0" maxOccurs="unbounded"> + <element ref="foo:a" /> + <element ref="foo:b" /> + <element ref="foo:c" /> + </choice> + </complexType> + </element> + </choice> + </complexType> + </element> + + <element name="a" /> + <element name="b" /> + <element name="c" /> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd013/xsd013.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd013/xsd013.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd013/xsd013.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd013/xsd013.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd013.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared element +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <sequence> + <!-- don't be fooled! it's not foo:root --> + <element ref="root" /> + </sequence> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd014/xsd014.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd014/xsd014.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd014/xsd014.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd014/xsd014.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd014.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared element +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root"> + <complexType> + <sequence> + <element ref="undef" /> + </sequence> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd015/xsd015.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd015/xsd015.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd015/xsd015.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd015/xsd015.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd015.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared type + (it may be simple or complex) +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + + <!-- don't be fooled! it's not foo:abc --> + <element name="root" type="abc"> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd016/xsd016.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd016/xsd016.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd016/xsd016.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd016/xsd016.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd016.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared type + (it may be simple or complex) +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <element name="root" type="abc"> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd017/xsd017.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd017/xsd017.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd017/xsd017.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd017/xsd017.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd017.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared complex type +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + + <element name="root"> + <complexType> + <complexContent> + <extension base="foo:def"> + <sequence> + <any /> + </sequence> + </extension> + </complexContent> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd018/xsd018.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd018/xsd018.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd018/xsd018.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd018/xsd018.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd018.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared complex type +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + + <element name="root"> + <complexType> + <complexContent> + <extension base="abc"> + <sequence> + <any /> + </sequence> + </extension> + </complexContent> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd019/xsd019.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd019/xsd019.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd019/xsd019.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd019/xsd019.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd019.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared simple type +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + + <element name="root"> + <complexType> + <simpleContent> + <!-- refer to the different namespace --> + <restriction base="abc"> + <pattern value="2" /> + </restriction> + </simpleContent> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-2.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-2.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-2.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-2.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd020-2.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared attribute +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <!-- decoys --> + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + <element name="abc" /> + + <element name="root"> + <complexType> + <attribute ref="foo:abc" /> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-3.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-3.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-3.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-3.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd020-3.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared model group +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <!-- decoys --> + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + <element name="abc" type="string" /> + <attribute name="abc" /> + <attributeGroup name="abc" /> + + + <element name="root"> + <complexType> + <group ref="foo:abc" /> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-4.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-4.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-4.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020-4.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd020-4.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared attribute group +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <!-- decoys --> + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + <element name="abc" type="string" /> + <attribute name="abc" /> + <group name="abc" > + <sequence> + <element ref="foo:abc" /> + </sequence> + </group> + + + <element name="root"> + <complexType> + <attributeGroup ref="foo:abc" /> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd020/xsd020.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd020.e.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - reference to undeclared simple type +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + xmlns:foo="foo" + targetNamespace="foo" + elementFormDefault="qualified"> + + <complexType name="abc"> + <sequence> + <any /> + </sequence> + </complexType> + + <element name="root"> + <complexType> + <simpleContent> + <!-- refer to a complex type where a simple type is required --> + <restriction base="foo:abc"> + <pattern value="2" /> + </restriction> + </simpleContent> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n00.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:laxAny f:a="invalid" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n01.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n01.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n01.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n01.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n01.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:laxAny z:c="not ok" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n02.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n02.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n02.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n02.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n02.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:strictAny u:undeclared="notOK" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n03.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n03.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n03.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n03.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n03.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:strictAny f:b="invalid" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n04.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n04.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n04.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n04.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n04.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:skipOther f:a="5" b:b="5" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n05.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n05.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n05.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n05.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n05.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:skipOther f:a="5" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n06.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n06.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n06.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n06.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n06.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:laxLocal f:a="9" /> <!-- not local --> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n07.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n07.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n07.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n07.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n07.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:laxLocal b:b="9" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n08.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n08.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n08.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n08.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n08.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:strictTarget local="not ok" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n09.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n09.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n09.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n09.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n09.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:strictTarget f:a="invalid" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n10.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n10.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n10.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n10.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n10.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:skipBar local="not ok" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n11.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n11.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n11.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.n11.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,16 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.n11.xml 1.3 02/12/25 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:skipBar f:a="not ok" /> + +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,34 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd021.v00.xml 1.4 03/10/10 + +--> + +<f:root + xmlns:f="foo" + xmlns:b="bar" + xmlns:z="zot" + xmlns:u="undeclared"> + + <f:skipAny f:a="bra" f:b="bra" u:something="also allowed" /> + <f:skipAny /> + + <f:laxAny f:a="5" f:undeclared="OK" b:b="2" u:something="also allowed" /> + <f:laxAny /> + + <f:strictAny f:b="5" b:c="2" z:a="52" /> + <f:strictAny /> + + <f:skipOther b:a="brabra" b:undeclared="OK" u:something="OK" u:local="OK"/> + <f:skipOther /> + + <f:laxLocal att="whatever" /> + <f:laxLocal /> + + <f:strictTarget f:a="1" f:b="2" f:c="3" /> + <f:strictTarget /> + + <f:skipBar b:b="invali" b:undeclared="ok" /> + <f:skipBar /> +</f:root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- +Ident: @(#)xsd021.xsd 1.3 03/10/10 + +--> + +<!-- + HIGHLIGHT OF THIS TEST + ====================== + - anyOtherAttribute +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="foo" + elementFormDefault="qualified"> + + <import namespace="bar" schemaLocation="xsd021a.xsdmod" /> + <import namespace="zot" schemaLocation="xsd021b.xsdmod" /> + + <attribute name="a" type="integer" /> + <attribute name="b" type="integer" /> + <attribute name="c" type="integer" /> + + <element name="root"> + <complexType> + <choice maxOccurs="unbounded"> + <element name="skipAny"> + <complexType> + <anyAttribute processContents="skip" /> + </complexType> + </element> + + <element name="laxAny"> + <complexType> + <anyAttribute processContents="lax" /> + </complexType> + </element> + + <element name="strictAny"> + <complexType> + <anyAttribute processContents="strict" /> + </complexType> + </element> + + <element name="skipOther"> + <complexType> + <anyAttribute processContents="skip" namespace="##other" /> + </complexType> + </element> + + <element name="laxLocal"> + <complexType> + <anyAttribute processContents="lax" namespace="##local" /> + </complexType> + </element> + + <element name="strictLocal"> + <complexType> + <anyAttribute processContents="strict" namespace="##local" /> + </complexType> + </element> + + <element name="strictTarget"> + <complexType> + <anyAttribute processContents="strict" namespace="##targetNamespace" /> + </complexType> + </element> + + <element name="skipBar"> + <complexType> + <anyAttribute processContents="skip" namespace="bar" /> + </complexType> + </element> + </choice> + </complexType> + </element> +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021a.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021a.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021a.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021a.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="bar" + elementFormDefault="qualified"> + + <attribute name="a" type="integer" /> + <attribute name="b" type="integer" /> + <attribute name="c" type="integer" /> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021b.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021b.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021b.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd021/xsd021b.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="zot" + elementFormDefault="qualified"> + + <attribute name="a" type="integer" /> + <attribute name="b" type="integer" /> + <attribute name="c" type="integer" /> + +</schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.n00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.n00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.n00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.n00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,12 @@ +<?xml version="1.0"?> + +<!-- +Ident: @(#)xsd022.n00.xml 1.3 02/12/25 + +--> + +<root xmlns="http://foo.com"> + <child1> + 1234 + </child1> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.v00.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.v00.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.v00.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.v00.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,18 @@ +<?xml version="1.0"?> + +<!-- +Ident: @(#)xsd022.v00.xml 1.3 02/12/25 + +--> + +<root xmlns="http://foo.com"> + <child1> + 123456 abcdef xxxxxxxx + </child1> + <child2>true</child2> + <child2>false</child2> + <child2>0</child2> + <child2>1</child2> + <child2>abcdef</child2> + <child2>xxxxxxxx</child2> +</root> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd022/xsd022.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd022.xsd 1.4 02/12/25 + +--> + +<!-- +highlight of this test: + - various forms of forward reference to the simple type +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://foo.com" + xmlns="http://foo.com" + elementFormDefault="qualified"> + + <xsd:element name="root"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="child1"> + <xsd:simpleType> + <xsd:list itemType="abc"/> + </xsd:simpleType> + </xsd:element> + <xsd:element name="child2"> + <xsd:complexType> + <xsd:simpleContent> + <xsd:extension base="abcOrBoolean"/> + </xsd:simpleContent> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + + <xsd:simpleType name="abcOrBoolean"> + <xsd:union memberTypes="xsd:boolean abc"/> + </xsd:simpleType> + + <xsd:simpleType name="abc"> + <xsd:restriction base="xsd:string"> + <xsd:minLength value="5"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd023/xsd023.e.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd023/xsd023.e.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd023/xsd023.e.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd023/xsd023.e.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd023.e.xsd 1.3 02/12/25 + +--> + +<!-- +highlight of this test: + - recursive simple type definition +--> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://foo.com" + xmlns="http://foo.com" + elementFormDefault="qualified"> + + <xsd:simpleType name="abcOrBoolean"> + <xsd:union memberTypes="xsd:boolean abc"/> + </xsd:simpleType> + + <xsd:simpleType name="abc"> + <xsd:restriction base="abcOrBoolean"> + <xsd:minLength value="5"/> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xml URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xml?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xml (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xml Wed Jan 26 14:03:21 2022 @@ -0,0 +1,11 @@ +<?xml version="1.0" ?> + +<!-- +Ident: @(#)xsd024.xml 1.3 02/12/25 + +--> + +<!-- + added to check validity of xsd024.xsd +--> +<test:root xmlns:test="http://foo.com" test:att="yes"/> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsd URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsd?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsd (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsd Wed Jan 26 14:03:21 2022 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- +Ident: @(#)xsd024.xsd 1.3 02/12/25 + +--> + +<!-- +highlight of this test: + - use of the chameleon schema and "smart reference reparing" +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://foo.com" + xmlns="http://foo.com" + elementFormDefault="qualified"> + + <xs:include schemaLocation="xsd024.xsdmod"/> +</xs:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsdmod URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsdmod?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsdmod (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunData/combined/xsd024/xsd024.xsdmod Wed Jan 26 14:03:21 2022 @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified"> + + <xs:element name="root" type="complexType"/> + + <xs:complexType name="complexType"> + <xs:group ref="group" /> + <xs:attributeGroup ref="attGroup"/> + </xs:complexType> + + <xs:attributeGroup name="attGroup"> + <xs:attribute ref="att"/> + </xs:attributeGroup> + + <xs:attribute name="att" type="simpleType"/> + + <xs:simpleType name="simpleType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="yes"/> + <xs:enumeration value="no"/> + </xs:restriction> + </xs:simpleType> + + <xs:group name="group"> + <xs:sequence> + <xs:element ref="root" minOccurs="0"/> + </xs:sequence> + </xs:group> +</xs:schema> Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/AGroupDef.testSet URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/AGroupDef.testSet?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/AGroupDef.testSet (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/AGroupDef.testSet Wed Jan 26 14:03:21 2022 @@ -0,0 +1,263 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<testSet name="AGroupDef" + xmlns="http://www.w3.org/XML/2004/xml-schema-test-suite/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.w3.org/XML/2004/xml-schema-test-suite/ AnnotatedTSSchema.xsd" + xmlns:xlink="http://www.w3.org/1999/xlink" + contributor="SUN"> + + <testGroup name="ag_attrusens00101m1_p"> + <annotation> + <documentation> + <Title>Attribute is declared in attribute group by reference with QName. (valid schema)</Title> + <Description>Attribute Use should has proper namespace prefix in the ref value + to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_attrUseNS00101m1_p"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_attrUse/AG_attrUseNS00101m/AG_attrUseNS00101m1_p.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/AG_attrUse/AG_attrUseNS00101m/AG_attrUseNS00101m1.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="ag_attrusens00101m1_n"> + <annotation> + <documentation> + <Title>Attribute is declared in attribute group by reference with QName. (invalid schema)</Title> + <Description>Attribute Use should has proper namespace prefix in the ref value + to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_attrUseNS00101m1_n"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_attrUse/AG_attrUseNS00101m/AG_attrUseNS00101m1_n.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="ag_attrwcard00101m1"> + <annotation> + <documentation> + <Title>Attribute wildcard is declared in attribute group. (valid schema)</Title> + <Description>According to declared attribute wildcard content of the attributes in the + document should not be processed.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_attrWCard00101m1"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_attrWCard/AG_attrWCard00101m/AG_attrWCard00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/AG_attrWCard/AG_attrWCard00101m/AG_attrWCard00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="ag_name00101m1_p"> + <annotation> + <documentation> + <Title>Attribute group declaration. (valid schema)</Title> + <Description>Attribute Group use should has proper ref value to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_name00101m1_p"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_name/AG_name00101m/AG_name00101m1_p.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/AG_name/AG_name00101m/AG_name00101m1.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="ag_name00101m1_n"> + <annotation> + <documentation> + <Title>Attribute group declaration. (invalid schema)</Title> + <Description>Attribute Group use should has proper ref value to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_name00101m1_n"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_name/AG_name00101m/AG_name00101m1_n.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="ag_targetns00101m1_p"> + <annotation> + <documentation> + <Title>Attribute group reference with QName. (valid schema)</Title> + <Description>Attribute Group use should has proper namespace prefix in the ref value + to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_targetNS00101m1_p"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_targetNS/AG_targetNS00101m/AG_targetNS00101m1_p.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/AG_targetNS/AG_targetNS00101m/AG_targetNS00101m1.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="ag_targetns00101m1_n"> + <annotation> + <documentation> + <Title>Attribute group reference with QName. (invalid schema)</Title> + <Description>Attribute Group use should has proper namespace prefix in the ref value + to be resolved to its declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="AG_targetNS00101m1_n"> + <schemaDocument xlink:href="../sunData/AGroupDef/AG_targetNS/AG_targetNS00101m/AG_targetNS00101m1_n.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m1"> + <annotation> + <documentation> + <Title>human-targeted annotation for an attribute group definition (valid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the human-targeted annotation + is provided for an attribute group definition.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m1"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m2"> + <annotation> + <documentation> + <Title>human-targeted double annotation for an attribute group definition (invalid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the human-targeted annotation + is provided for an attribute group definition. + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m2"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m3"> + <annotation> + <documentation> + <Title>human-targeted misplaced annotation for an attribute group definition (invalid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the human-targeted annotation + is provided for an attribute group definition. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m3"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m3.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m4"> + <annotation> + <documentation> + <Title>machine-targeted annotation for an attribute group definition (valid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the machine-targeted annotation + is provided for an attribute group definition.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m4"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m4_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m5"> + <annotation> + <documentation> + <Title>machine-targeted double annotation for an attribute group definition (invalid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the machine-targeted annotation + is provided for an attribute group definition. + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m5"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m5.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m6"> + <annotation> + <documentation> + <Title>machine-targeted misplaced annotation for an attribute group definition (invalid schema)</Title> + <Description>Annotations provide for human- and machine-targeted + annotations of schema components. + In the test the machine-targeted annotation + is provided for an attribute group definition. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cAttribute_Group_Definitions"/> + <schemaTest name="annotation00101m6"> + <schemaDocument xlink:href="../sunData/AGroupDef/annotation/annotation00101m/annotation00101m6.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + +</testSet> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
