Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/ElemDecl.testSet URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/ElemDecl.testSet?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/ElemDecl.testSet (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/ElemDecl.testSet Wed Jan 26 14:03:21 2022 @@ -0,0 +1,5053 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<testSet name="ElemDecl" + 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="abstract00101m"> + <annotation> + <documentation> + <Title>Abstract declarations may not be used to validate element content. (valid schema)</Title> + <Description>Define an element within a substitution group + headed by another element which is abstract. The elements + have the same type. Try to substitute the head element + with the first one. Try to use the head itself.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="abstract00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/abstract/abstract00101m/abstract00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="abstract00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/abstract/abstract00101m/abstract00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="abstract00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/abstract/abstract00101m/abstract00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="abstract00201m1"> + <annotation> + <documentation> + <Title>use abstarct explicitly set to true (valid schema)</Title> + <Description>Declare an element with abstarct explicitly set to true. + Try to use it in the xml document.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="abstract00201m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="abstract00201m2"> + <annotation> + <documentation> + <Title>use abstarct explicitly set to false (valid schema)</Title> + <Description>Declare an element with abstarct explicitly set to false. + Try to use it in the xml document.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="abstract00201m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="abstract00201m3"> + <annotation> + <documentation> + <Title>use default value of the attribute abstract (valid schema)</Title> + <Description>Declare an element with default value of the attribute abstract. + Try to use it in the xml document.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="abstract00201m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/abstract/abstract00201m/abstract00201m3_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m1"> + <annotation> + <documentation> + <Title>human-targeted annotation for element declaration (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 element declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="annotation00101m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/annotation/annotation00101m/annotation00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/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 misplaced annotation for element declaration (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 element declaration. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="annotation00101m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/annotation/annotation00101m/annotation00101m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m3"> + <annotation> + <documentation> + <Title>machine-targeted annotation for element declaration (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 element declaration.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="annotation00101m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/annotation/annotation00101m/annotation00101m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/annotation/annotation00101m/annotation00101m3_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m4"> + <annotation> + <documentation> + <Title>machine-targeted misplaced annotation for element declaration (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 element declaration. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="annotation00101m4"> + <schemaDocument xlink:href="../sunData/ElemDecl/annotation/annotation00101m/annotation00101m4.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00101m"> + <annotation> + <documentation> + <Title>Blocking any substitution. (valid schema)</Title> + <Description>Define an element within a substitution group + headed by another element. The elements have the same + type. Block (disallow) a substitution of the head. Try + to substitute the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00101m/disallowedSubst00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="disallowedSubst00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00101m/disallowedSubst00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="disallowedSubst00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00101m/disallowedSubst00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00102m1"> + <annotation> + <documentation> + <Title>Blocking any substitution (positive case) (valid schema)</Title> + <Description>Define an element within a substitution group + headed by another element. The elements have the same + type. Block (disallow) a substitution of the head. Try + to substitute the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00102m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00102m/disallowedSubst00102m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00102m/disallowedSubst00102m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00102m2"> + <annotation> + <documentation> + <Title>Blocking any substitution (negative case) (valid schema)</Title> + <Description>Define an element within a substitution group + headed by another element. The elements have the same + type. Block (disallow) a substitution of the head. Try + to substitute the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00102m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00102m/disallowedSubst00102m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00102m/disallowedSubst00102m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00105m"> + <annotation> + <documentation> + <Title>Blocking any extension. (valid schema)</Title> + <Description>Define an element within a substitution group headed + by another element. The first element has a type + extended from the type of the head. Block (disallow) + an extension of the head. Try to substitute + the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00105m"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00105m/disallowedSubst00105m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="disallowedSubst00105m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00105m/disallowedSubst00105m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="disallowedSubst00105m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00105m/disallowedSubst00105m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00106m1"> + <annotation> + <documentation> + <Title>Blocking any extension (positive case) (valid schema)</Title> + <Description>Define an element within a substitution group headed + by another element. The first element has a type + extended from the type of the head. Block (disallow) + an extension of the head. Try to substitute + the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00106m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00106m/disallowedSubst00106m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00106m/disallowedSubst00106m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00106m2"> + <annotation> + <documentation> + <Title>Blocking any extension (negative case) (valid schema)</Title> + <Description>Define an element within a substitution group headed + by another element. The first element has a type + extended from the type of the head. Block (disallow) + an extension of the head. Try to substitute + the head element with the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00106m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00106m/disallowedSubst00106m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00106m/disallowedSubst00106m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00202m1"> + <annotation> + <documentation> + <Title>Illegal value is used. (invalid schema)</Title> + <Description>The block attribute is set to illegal value.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m1.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m10"> + <annotation> + <documentation> + <Title>Try blocking "substitution extension restriction #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "substitution extension restriction #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m10"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m10.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m11"> + <annotation> + <documentation> + <Title>Try blocking "extension substitution restriction #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "extension substitution restriction #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m11"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m11.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m12"> + <annotation> + <documentation> + <Title>Various subsets of blocking values. (valid schema)</Title> + <Description>Various subsets of blocking values are used for a number of + elemen declarations.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m12"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m12.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m12_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00202m2"> + <annotation> + <documentation> + <Title>Try blocking "#all #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "#all #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m3"> + <annotation> + <documentation> + <Title>Try blocking "substitution #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "substitution #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m3.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m4"> + <annotation> + <documentation> + <Title>Try blocking "restriction #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "restriction #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m4"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m4.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m5"> + <annotation> + <documentation> + <Title>Try blocking "extension #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "extension #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m5"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m5.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m6"> + <annotation> + <documentation> + <Title>Try blocking "substitution restriction #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "substitution restriction #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m6"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m6.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m7"> + <annotation> + <documentation> + <Title>Try blocking "extension substitution #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "extension substitution #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m7"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m7.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m8"> + <annotation> + <documentation> + <Title>Try blocking "restriction substitution #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "restriction substitution #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m8"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m8.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00202m9"> + <annotation> + <documentation> + <Title>Try blocking "substitution restriction extension #illegalValue" (invalid schema)</Title> + <Description>Try to set block attribute to "substitution restriction extension #illegalValue"</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00202m9"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00202m/disallowedSubst00202m9.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="disallowedsubst00301m1"> + <annotation> + <documentation> + <Title>substitution is allowed (valid schema)</Title> + <Description>The blocking constraint must not contain substitution for an + element declaration to be validly substituteable for another element + declaration. + In the test any substitution for element Head is + allowed.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00301m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00301m/disallowedSubst00301m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00301m/disallowedSubst00301m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00301m2"> + <annotation> + <documentation> + <Title>substitution is disallowed (valid schema)</Title> + <Description>The blocking constraint must not contain substitution for an + element declaration to be validly substituteable for another element + declaration. + In the test any substitution for element Head is + disallowed.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00301m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00301m/disallowedSubst00301m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00301m/disallowedSubst00301m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00401m1"> + <annotation> + <documentation> + <Title>substitution is allowed (valid schema)</Title> + <Description>The blocking constraint must not contain substitution for an + element declaration to be validly substituteable for another element + declaration. + In the test any substitution for element Head is + allowed.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00401m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00401m/disallowedSubst00401m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00401m/disallowedSubst00401m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00401m2"> + <annotation> + <documentation> + <Title>substitution is disallowed (valid schema)</Title> + <Description>The blocking constraint must not contain substitution for an + element declaration to be validly substituteable for another element + declaration. + In the test any substitution for element Head is + disallowed.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00401m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00401m/disallowedSubst00401m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00401m/disallowedSubst00401m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00501m1"> + <annotation> + <documentation> + <Title>no blocking constraints (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Blockong constraints of the first element is empty, so the second element is substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00501m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00501m/disallowedSubst00501m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00501m/disallowedSubst00501m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00501m2"> + <annotation> + <documentation> + <Title>restriction is blocked (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Blockong constraints of the first element contain 'restriction', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00501m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00501m/disallowedSubst00501m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00501m/disallowedSubst00501m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00502m1"> + <annotation> + <documentation> + <Title>complex type substitution: no blocking constraints (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by extension from type of the first element. + Blockong constraints of the first element is empty, so the second element is substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00502m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00502m2"> + <annotation> + <documentation> + <Title>complex type substitution: restriction is blocked (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by extension from type of the first element. + Blockong constraints of the first element contain 'restriction', so the second element is substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00502m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00502m3"> + <annotation> + <documentation> + <Title>complex type substitution: extension is blocked (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by extension from type of the first element. + Blockong constraints of the first element contain 'extension', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00502m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00502m4"> + <annotation> + <documentation> + <Title>complex type substitution: extension and restriction are blocked (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by extension from type of the first element. + Blockong constraints of the first element contain 'restriction extension', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00502m4"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00502m/disallowedSubst00502m4_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00503m1"> + <annotation> + <documentation> + <Title>derived by restriction: prohibiting substitutions is empty (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Prohibiting substitutions of the first element's type is empty, so the second element is substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00503m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00503m2"> + <annotation> + <documentation> + <Title>derived by restriction: prohibiting substitutions contains 'extension' (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Prohibiting substitutions of the first element's type contain 'extension', so the second element is substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00503m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00503m3"> + <annotation> + <documentation> + <Title>derived by restriction: prohibiting substitutions contains 'restriction' (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Prohibiting substitutions of the first element's type contain 'restriction', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00503m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00503m4"> + <annotation> + <documentation> + <Title>derived by restriction: prohibiting substitutions contains 'restriction extension' (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Prohibiting substitutions of the first element's type contain 'restriction extension', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00503m4"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m4_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="disallowedsubst00503m5"> + <annotation> + <documentation> + <Title>derived by restriction: prohibiting substitutions contains '#all' (valid schema)</Title> + <Description>Two elements are declared. The second one has type derived by restriction from type of the first element. + Prohibiting substitutions of the first element's type contain '#all', so the second element is not substitutable for the first one.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="disallowedSubst00503m5"> + <schemaDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m5.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/ElemDecl/disallowedSubst/disallowedSubst00503m/disallowedSubst00503m5_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00101m"> + <annotation> + <documentation> + <Title>Uniqueness among values of elements. (valid schema)</Title> + <Description>Define and check a uniqueness among values of elements.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00101m/idConstrDefs00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00101m/idConstrDefs00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00101m/idConstrDefs00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00201m"> + <annotation> + <documentation> + <Title>all kinds of identity constraint are not violated (valid schema)</Title> + <Description>Define and check key, keyref and uniqueness among values of elements. + In the test all kinds of identity constraint are not violated.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00201m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00201m/idConstrDefs00201m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00201m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00201m/idConstrDefs00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00201m2_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00201m/idConstrDefs00201m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00201m3_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00201m/idConstrDefs00201m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00201m4_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00201m/idConstrDefs00201m4_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00202m"> + <annotation> + <documentation> + <Title>there must be no multiply-defined ID (valid schema)</Title> + <Description>Define a key identity constraint with two fields. + Ensure that the constraint prevents one key to be + defined twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00202m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00202m/idConstrDefs00202m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00202m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00202m/idConstrDefs00202m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00202m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00202m/idConstrDefs00202m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00203m"> + <annotation> + <documentation> + <Title>there must be no uniqueness violations (valid schema)</Title> + <Description>Define a uniqueness identity constraint with two fields. + Ensure that the constraint prevents one pair of values to be + defined twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00203m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00203m/idConstrDefs00203m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00203m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00203m/idConstrDefs00203m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00203m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00203m/idConstrDefs00203m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00204m"> + <annotation> + <documentation> + <Title>keyref must refer to a key that is defined (valid schema)</Title> + <Description>Define a key identity constraint. Define a keyref to that key. + Ensure that the keyref field is not allowed to refer to a + key that is not defined.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00204m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00204m/idConstrDefs00204m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00204m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00204m/idConstrDefs00204m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00204m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00204m/idConstrDefs00204m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00301m"> + <annotation> + <documentation> + <Title>all ID, IDREF, IDREFS are valid (valid schema)</Title> + <Description>All ID, IDREF and IDREFS values are valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00301m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00301m/idConstrDefs00301m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00301m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00301m/idConstrDefs00301m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00301m2_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00301m/idConstrDefs00301m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00301m3_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00301m/idConstrDefs00301m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00301m4_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00301m/idConstrDefs00301m4_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00302m"> + <annotation> + <documentation> + <Title>all attributes of type ID, IDREF, IDREFS are valid (valid schema)</Title> + <Description>All ID, IDREF and IDREFS attributes are valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00302m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00302m/idConstrDefs00302m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00302m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00302m/idConstrDefs00302m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00302m2_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00302m/idConstrDefs00302m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00302m3_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00302m/idConstrDefs00302m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00302m4_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00302m/idConstrDefs00302m4_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00401m"> + <annotation> + <documentation> + <Title>derived IDREF must refer to an ID that is defined (cyclic) (valid schema)</Title> + <Description>Declare an attribute of a type derived from ID. + Declare an attribute of a type derived from IDREF. + Ensure that the second attribute is allowed to refer to a value + that is defined by the first attribute defined in the same + element information item.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00401m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00401m/idConstrDefs00401m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00401m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00401m/idConstrDefs00401m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00402m"> + <annotation> + <documentation> + <Title>derived IDREF must refer to an ID that is defined (valid schema)</Title> + <Description>Declare an attribute of a type derived from ID. + Declare an attribute of a type derived from IDREF. + Ensure that the second attribute is not allowed to refer to a value + that is not defined by the first attribute.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00402m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00402m/idConstrDefs00402m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00402m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00402m/idConstrDefs00402m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00402m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00402m/idConstrDefs00402m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00403m"> + <annotation> + <documentation> + <Title>derived IDREFS must refer to IDs that are defined (valid schema)</Title> + <Description>Declare an attribute of a type derived from ID. + Declare an attribute of a type derived from IDREFS. + Ensure that the second attribute is not allowed to refer to a values + that are not defined by the first attribute.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00403m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00403m/idConstrDefs00403m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00403m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00403m/idConstrDefs00403m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00403m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00403m/idConstrDefs00403m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="idconstrdefs00501m"> + <annotation> + <documentation> + <Title>there must be no multiply-defined ID (valid schema)</Title> + <Description>Declare an attribute of a type derived from ID. + Ensure that two element information items + may not have that attributes with the same values.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="idConstrDefs00501m"> + <schemaDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00501m/idConstrDefs00501m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="idConstrDefs00501m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00501m/idConstrDefs00501m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="idConstrDefs00501m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/identityConstraintDefs/idConstrDefs00501m/idConstrDefs00501m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="maxoccurs00101m"> + <annotation> + <documentation> + <Title>Default value of the {maxOccurs} property. (valid schema)</Title> + <Description>Define one global element and one local. Omit maxOccurs attribute. Check that + the value of the {maxOccurs} property is 1.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="maxOccurs00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00101m/maxOccurs00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="maxOccurs00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00101m/maxOccurs00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="maxOccurs00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00101m/maxOccurs00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="maxoccurs00201m"> + <annotation> + <documentation> + <Title>Default value of the {maxOccurs} property when the ref attribute is used. (valid schema)</Title> + <Description>Define one local that refers to a global one. Omit maxOccurs attribute. + Check that the value of the {maxOccurs} property is 1.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="maxOccurs00201m"> + <schemaDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00201m/maxOccurs00201m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="maxOccurs00201m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00201m/maxOccurs00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="maxOccurs00201m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/maxOccurs/maxOccurs00201m/maxOccurs00201m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="minoccurs00101m"> + <annotation> + <documentation> + <Title>Default value of the {minOccurs} property. (valid schema)</Title> + <Description>Define one global element and one local. Omit minOccurs attribute. Check that + the value of the {minOccurs} property is 1.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="minOccurs00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00101m/minOccurs00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="minOccurs00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00101m/minOccurs00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="minOccurs00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00101m/minOccurs00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="minoccurs00201m"> + <annotation> + <documentation> + <Title>Default value of the {minOccurs} property when the ref attribute is used. (valid schema)</Title> + <Description>Declare a local element with a reference to a global one. Omit minOccurs + attribute. Check that the value of the {minOccurs} property is 1.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="minOccurs00201m"> + <schemaDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00201m/minOccurs00201m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="minOccurs00201m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00201m/minOccurs00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="minOccurs00201m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/minOccurs/minOccurs00201m/minOccurs00201m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00101m"> + <annotation> + <documentation> + <Title>General check of the {name} property. (valid schema)</Title> + <Description>Define two elements with incompatible types. Check that the + elements are validated properly.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00101m"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00101m/name00101m.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="name00101m1_p"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00101m/name00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="name00101m1_n"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00101m/name00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00201m1"> + <annotation> + <documentation> + <Title>complexType definitions and element +declarations have different symbol spaces. (valid schema)</Title> + <Description>Declare an element. Define a + complexType with the same name. + Check that there is no name clash.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00201m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00201m/name00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00201m/name00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00201m2"> + <annotation> + <documentation> + <Title>simpleType definitions and element +declarations have different symbol spaces. (valid schema)</Title> + <Description>Declare an element. Define a + simpleType with the same name. + Check that there is no name clash.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00201m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00201m/name00201m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00201m/name00201m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00301m1"> + <annotation> + <documentation> + <Title>Local element names do not clash. (valid schema)</Title> + <Description>Declare two local elements with the same name but in different + scope.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00301m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00301m/name00301m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00301m/name00301m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00401m1"> + <annotation> + <documentation> + <Title>the name attribute is set (valid schema)</Title> + <Description>Declare an element. Set name="Local". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00401m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00401m2"> + <annotation> + <documentation> + <Title>the root attribute is set (valid schema)</Title> + <Description>Declare an element. Set ref="root". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00401m2"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00401m3"> + <annotation> + <documentation> + <Title>Both name and ref attributes are set (invalid schema)</Title> + <Description>Declare an element. Set name="Local" ref="root". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00401m3"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m3.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00401m4"> + <annotation> + <documentation> + <Title>Both ref and name attributes are set (invalid schema)</Title> + <Description>Declare an element. Set ref="root" name="Local". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00401m4"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m4.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00401m5"> + <annotation> + <documentation> + <Title>Both name and ref attributes are set to the same value (invalid schema)</Title> + <Description>Declare an element. Set name="root" ref="root". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00401m5"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00401m/name00401m5.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00501m1"> + <annotation> + <documentation> + <Title>nillable is present (valid schema)</Title> + <Description>Declare an element. Set name ="Local" nillable="true" type="xsd:boolean". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m1"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00501m10"> + <annotation> + <documentation> + <Title>block and ref are present (invalid schema)</Title> + <Description>Declare an element. Set ref="Main" block="#all". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m10"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m10.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00501m11"> + <annotation> + <documentation> + <Title>type is present (valid schema)</Title> + <Description>Declare an element. Set name ="Local" type="xsd:boolean". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m11"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m11.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m11_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00501m12"> + <annotation> + <documentation> + <Title>type and ref are present (invalid schema)</Title> + <Description>Declare an element. Set ref="Main" type="xsd:boolean". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m12"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m12.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00501m13"> + <annotation> + <documentation> + <Title>minOccurs and ref are present (valid schema)</Title> + <Description>Declare an element. Set ref="Main" minOccurs="0". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m13"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m13.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m13_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00501m14"> + <annotation> + <documentation> + <Title>maxOccurs and ref are present (valid schema)</Title> + <Description>Declare an element. Set ref="Main" maxOccurs="unbounded". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m14"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m14.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m14_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00501m15"> + <annotation> + <documentation> + <Title>id and ref are present (valid schema)</Title> + <Description>Declare an element. Set ref="Main" id="X123". + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m15"> + <schemaDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m15.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/ElemDecl/name/name00501m/name00501m15_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00501m2"> + <annotation> + <documentation> + <Title>nillable and ref are present (invalid schema)</Title> + <Description>Declare an element. Set ref="Main" nillable="true". + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cElement_Declarations"/> + <schemaTest name="name00501m2">
[... 3452 lines stripped ...] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
