Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/IdConstrDefs.testSet URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/IdConstrDefs.testSet?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/IdConstrDefs.testSet (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/IdConstrDefs.testSet Wed Jan 26 14:03:21 2022 @@ -0,0 +1,663 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<testSet name="IdConstrDefs" + 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="annotation00101m1"> + <annotation> + <documentation> + <Title>human-targeted annotation for an Identity-constraint 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 Identity-constraint Definition.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/annotation/annotation00101m/annotation00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/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 an Identity-constraint 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 Identity-constraint Definition. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/annotation/annotation00101m/annotation00101m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m3"> + <annotation> + <documentation> + <Title>human-targeted double annotation for an Identity-constraint 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 Identity-constraint Definition. + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m3"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/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 Identity-constraint 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 Identity-constraint Definition.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m4"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/annotation/annotation00101m/annotation00101m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/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 misplaced annotation for an Identity-constraint 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 Identity-constraint Definition. + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m5"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/annotation/annotation00101m/annotation00101m5.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m6"> + <annotation> + <documentation> + <Title>machine-targeted double annotation for an Identity-constraint 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 Identity-constraint Definition. + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="annotation00101m6"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/annotation/annotation00101m/annotation00101m6.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="fields00101m1"> + <annotation> + <documentation> + <Title>fields may have different types (valid schema)</Title> + <Description>Define a uniqueness constraint with fields of different types.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00101m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00101m/fields00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00101m/fields00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00201m1"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +type is decimal, values are 3.0 and -3 (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields of type decimal have values 3.0 and + -3.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00201m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00201m2"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +type is decimal, values are 3.0 and 3 (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields of type decimal have values 3.0 and + 3.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00201m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00201m3"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +type is decimal, values are 3.0 and 3.0 (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields of type decimal have values 3.0 and + 3.0.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00201m3"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00201m4"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +type is string, values are 3.0 and 3 (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields of type string have values 3.0 and + 3.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00201m4"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m4_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00201m5"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +type is string, values are 3.0 and 3.0 (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields of type string have values 3.0 and + 3.0.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00201m5"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m5.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00201m/fields00201m5_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00202m1"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with decimal(-3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the first field of type string has value "3.0". The + second field of type decimal has value "-3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00202m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00202m2"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with decimal(3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the first field of type string has value "3.0". The + second field of type decimal has value "3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00202m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00202m3"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with decimal(3.0) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the first field of type string has value "3.0". The + second field of type decimal has value "3.0".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00202m3"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m3_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00202m4"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with string(3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the first field of type string has value "3.0". The + second field of type string has value "3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00202m4"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m4_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00202m5"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with string(3.0) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the first field of type string has value "3.0". The + second field of type string has value "3.0".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00202m5"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m5.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00202m/fields00202m5_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00203m1"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +decimal(3.0) compares with decimal(-3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields have local type decimal and + values "3.0" and "-3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00203m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00203m2"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +decimal(3.0) compares with decimal(3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields have local type decimal and + values "3.0" and "3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00203m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00203m3"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +decimal(3.0) compares with decimal(3.0) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields have local type decimal and + values "3.0" and "3.0".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00203m3"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m3.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m3_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00203m4"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with string(3) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields have local type string and + values "3.0" and "3".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00203m4"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m4_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="fields00203m5"> + <annotation> + <documentation> + <Title>values of the fields are checked for equality: +string(3.0) compares with string(3.0) (valid schema)</Title> + <Description>The equality and inequality conditions appealed to in checking these + constraints apply to the value of the fields selected, so that for example + 3.0 and 3 would be conflicting keys if they were both number, but + non-conflicting if they were both strings, or one was a string and + one a number. + In the test the fields have local type string and + values "3.0" and "3.0".</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="fields00203m5"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m5.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/fields/fields00203m/fields00203m5_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00101m1"> + <annotation> + <documentation> + <Title>In one namespace Identity-constraint definition names must be unique: +the names are KEY0 and KEY1 (valid schema)</Title> + <Description>Declare an element. Define a key identity constraint. + Define another key identity constraint with + another name. + Check that the schema is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="name00101m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/name/name00101m/name00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/name/name00101m/name00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="name00101m2"> + <annotation> + <documentation> + <Title>In one namespace Identity-constraint definition names must be unique: +the names are KEY1 and KEY1 (invalid schema)</Title> + <Description>Declare an element. Define a key identity constraint. + Define another key identity constraint with + the same name. + Check that the schema is invalid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="name00101m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/name/name00101m/name00101m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="name00201m1"> + <annotation> + <documentation> + <Title>constraints have separate symbol space (valid schema)</Title> + <Description>With the same name declare a global element, a local element, an attribute, define a type + and a constraint. Check that there is no name clash.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="name00201m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/name/name00201m/name00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/name/name00201m/name00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="targetns00101m1"> + <annotation> + <documentation> + <Title>Identity-constraint definition identities must be unique: different namespaces (valid schema)</Title> + <Description>Declare an element. Define a key identity constraint and a keyref to that key inside the + element declaration. Declare another element with the same key and keyref. + Check that if the second element declaration is in the same namespace, + that the schema is invalid, otherwise it is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="targetNS00101m1"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/targetNS/targetNS00101m/targetNS00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/IdConstrDefs/targetNS/targetNS00101m/targetNS00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="targetns00101m2"> + <annotation> + <documentation> + <Title>Identity-constraint definition identities must be unique: the same namespace (invalid schema)</Title> + <Description>Declare an element. Define a key identity constraint and a keyref to that key inside the + element declaration. Declare another element with the same key and keyref. + Check that if the second element declaration is in the same namespace, + that the schema is invalid, otherwise it is valid.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cIdentity-constraint_Definitions"/> + <schemaTest name="targetNS00101m2"> + <schemaDocument xlink:href="../sunData/IdConstrDefs/targetNS/targetNS00101m/targetNS00101m2.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + +</testSet>
Added: xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/MGroup.testSet URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/MGroup.testSet?rev=1897508&view=auto ============================================================================== --- xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/MGroup.testSet (added) +++ xerces/java/branches/xml-schema-1.0-tests/w3c_xmlschema10-testsuite/sunMeta/MGroup.testSet Wed Jan 26 14:03:21 2022 @@ -0,0 +1,882 @@ +<?xml version="1.0" encoding="UTF-8"?> + + +<testSet name="MGroup" + 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="annotation00101m1"> + <annotation> + <documentation> + <Title>human-targeted annotation for a model group schema component (all) (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 a model group schema component (all).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m1"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m10"> + <annotation> + <documentation> + <Title>machine-targeted annotation for a model group schema component (choice) (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 a model group schema component (choice).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m10"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m10.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m10_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m11"> + <annotation> + <documentation> + <Title>machine-targeted double annotation for a model group schema component (choice) (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 a model group schema component (choice). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m11"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m11.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m12"> + <annotation> + <documentation> + <Title>machine-targeted misplaced annotation for a model group schema component (choice) (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 a model group schema component (choice). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m12"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m12.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m13"> + <annotation> + <documentation> + <Title>human-targeted annotation for a model group schema component (sequence) (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 a model group schema component (sequence).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m13"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m13.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m13_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m14"> + <annotation> + <documentation> + <Title>human-targeted double annotation for a model group schema component (sequence) (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 a model group schema component (sequence). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m14"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m14.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m15"> + <annotation> + <documentation> + <Title>human-targeted misplaced annotation for a model group schema component (sequence) (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 a model group schema component (sequence). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m15"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m15.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m16"> + <annotation> + <documentation> + <Title>machine-targeted annotation for a model group schema component (sequence) (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 a model group schema component (sequence).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m16"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m16.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m16_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m17"> + <annotation> + <documentation> + <Title>machine-targeted double annotation for a model group schema component (sequence) (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 a model group schema component (sequence). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m17"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m17.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m18"> + <annotation> + <documentation> + <Title>machine-targeted misplaced annotation for a model group schema component (sequence) (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 a model group schema component (sequence). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m18"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m18.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m2"> + <annotation> + <documentation> + <Title>human-targeted double annotation for a model group schema component (all) (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 a model group schema component (all). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m2"> + <schemaDocument xlink:href="../sunData/MGroup/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 a model group schema component (all) (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 a model group schema component (all). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m3"> + <schemaDocument xlink:href="../sunData/MGroup/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 a model group schema component (all) (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 a model group schema component (all).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m4"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m4.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/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 a model group schema component (all) (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 a model group schema component (all). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m5"> + <schemaDocument xlink:href="../sunData/MGroup/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 a model group schema component (all) (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 a model group schema component (all). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m6"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m6.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m7"> + <annotation> + <documentation> + <Title>human-targeted annotation for a model group schema component (choice) (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 a model group schema component (choice).</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m7"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m7.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m7_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="annotation00101m8"> + <annotation> + <documentation> + <Title>human-targeted double annotation for a model group schema component (choice) (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 a model group schema component (choice). + The annotation is specified twice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m8"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m8.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="annotation00101m9"> + <annotation> + <documentation> + <Title>human-targeted misplaced annotation for a model group schema component (choice) (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 a model group schema component (choice). + The annotation is misplaced.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="annotation00101m9"> + <schemaDocument xlink:href="../sunData/MGroup/annotation/annotation00101m/annotation00101m9.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="compositor00101m1"> + <annotation> + <documentation> + <Title>The {compositor} is <sequence> of 3 elements, {particles} are element declarations (valid schema)</Title> + <Description>Validation Rule: Element Sequence Valid case #1</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00101m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00101m/compositor00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00101m/compositor00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00101m/compositor00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="compositor00102m1"> + <annotation> + <documentation> + <Title>The {compositor} is choice, {particles} are element declarations (valid schema)</Title> + <Description>Validation Rule: Element Sequence Valid case #2</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00102m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00102m/compositor00102m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00102m/compositor00102m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00102m/compositor00102m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="compositor00103m1"> + <annotation> + <documentation> + <Title>The {compositor} is all, {particles} are element declarations (valid schema)</Title> + <Description>Validation Rule: Element Sequence Valid case #3</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00103m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00103m/compositor00103m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00103m/compositor00103m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00103m/compositor00103m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="compositor00201m1"> + <annotation> + <documentation> + <Title>An empty sequence (valid schema)</Title> + <Description>The XMLSchema specification allows an empty sequence.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00201m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00201m/compositor00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00201m/compositor00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="compositor00202m1"> + <annotation> + <documentation> + <Title>An empty choice (valid schema)</Title> + <Description>The XMLSchema specification allows an empty choice.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00202m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00202m/compositor00202m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00202m/compositor00202m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="compositor00203m1"> + <annotation> + <documentation> + <Title>An empty all (valid schema)</Title> + <Description>The XMLSchema specification allows an empty all.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="compositor00203m1"> + <schemaDocument xlink:href="../sunData/MGroup/compositor/compositor00203m/compositor00203m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/compositor/compositor00203m/compositor00203m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00101m1"> + <annotation> + <documentation> + <Title>{particles}: 1 <element> (valid schema)</Title> + <Description>The {particles} of 'all' must be <element>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00101m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00101m2"> + <annotation> + <documentation> + <Title>{particles}: 2 <element> (valid schema)</Title> + <Description>The {particles} of 'all' must be <element>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00101m2"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m2.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m2_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00101m/particles00101m2_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00102m1"> + <annotation> + <documentation> + <Title><group> as one of {particles} (invalid schema)</Title> + <Description>The {particles} of 'all' must be <element>. So <group> is prohibited.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00102m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00102m/particles00102m1.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="particles00103m1"> + <annotation> + <documentation> + <Title><sequence> as one of {particles} (invalid schema)</Title> + <Description>The {particles} of 'all' must be <element>. So <sequence> is prohibited.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00103m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00103m/particles00103m1.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="particles00104m1"> + <annotation> + <documentation> + <Title><any> as one of {particles} (invalid schema)</Title> + <Description>The {particles} of 'all' must be <element>. So <any> is prohibited.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00104m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00104m/particles00104m1.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="particles00105m1"> + <annotation> + <documentation> + <Title><choice> as one of {particles} (invalid schema)</Title> + <Description>The {particles} of 'all' must be <element>. So <choice> is prohibited.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00105m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00105m/particles00105m1.xsd"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + </testGroup> + + <testGroup name="particles00201m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <element> (valid schema)</Title> + <Description>The {particles} of 'choice' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00201m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00201m/particles00201m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00201m/particles00201m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00201m/particles00201m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00202m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <group> (valid schema)</Title> + <Description>The {particles} of 'choice' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00202m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00202m/particles00202m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00202m/particles00202m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00202m/particles00202m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00203m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <choice> (valid schema)</Title> + <Description>The {particles} of 'choice' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00203m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00203m/particles00203m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00203m/particles00203m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00203m/particles00203m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00204m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <sequence> (valid schema)</Title> + <Description>The {particles} of 'choice' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00204m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00204m/particles00204m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00204m/particles00204m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00204m/particles00204m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00205m1"> + <annotation> + <documentation> + <Title>{particles}: 1 <any> (valid schema)</Title> + <Description>The {particles} of 'choice' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00205m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00205m/particles00205m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00205m/particles00205m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00205m/particles00205m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00301m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <element> (valid schema)</Title> + <Description>The {particles} of 'sequence' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00301m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00301m/particles00301m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00301m/particles00301m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00301m/particles00301m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00302m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <group> (valid schema)</Title> + <Description>The {particles} of 'sequence' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00302m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00302m/particles00302m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00302m/particles00302m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00302m/particles00302m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00303m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <choice> (valid schema)</Title> + <Description>The {particles} of 'sequence' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00303m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00303m/particles00303m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00303m/particles00303m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00303m/particles00303m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00304m1"> + <annotation> + <documentation> + <Title>{particles}: 2 <sequence> (valid schema)</Title> + <Description>The {particles} of 'sequence' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00304m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00304m/particles00304m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00304m/particles00304m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00304m/particles00304m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + + <testGroup name="particles00305m1"> + <annotation> + <documentation> + <Title>{particles}: 1 <any> (valid schema)</Title> + <Description>The {particles} of 'sequence' must be one of <element>, <group>, + <choice>, <sequence> <any>.</Description> + </documentation> + </annotation> + <documentationReference xlink:href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Model_Groups"/> + <schemaTest name="particles00305m1"> + <schemaDocument xlink:href="../sunData/MGroup/particles/particles00305m/particles00305m1.xsd"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </schemaTest> + <instanceTest name="Positive"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00305m/particles00305m1_p.xml"/> + <expected validity="valid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + <instanceTest name="Negative"> + <instanceDocument xlink:href="../sunData/MGroup/particles/particles00305m/particles00305m1_n.xml"/> + <expected validity="invalid"/> + <current status="accepted" date="2005-06-21"/> + </instanceTest> + </testGroup> + +</testSet> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
