This document and the test materials and results it points to are copyright the World Wide Web Consortium and the contributors thereof, respectively. They are hereby made available for public use under the W3C Document Licence.
This document presents the curent state of part of the XML Schema Test
Collection. This is our first pass at presenting this material, and it may
change in future. The display below has one row per test, one set of descriptive
columns of the test as provided by the test contributor, and one column per
implementation we have run the tests against. Note in particular that the column
labelled "Expected" means the outcome
expected by the contributor. For the test file(s) present which
has/have extension .xsd
, its/their conformance to the XML Schema
REC's definition of valid XML representations of XML Schemas is what is at
issue. When a test file with extension .xml
is present as well, its
schema-validity is at issue as well. So there will always be either a 1 (no
schema errors) or a 0 (at least 1 schema error) against the S:; there may
be either NA (not applicable -- no instance tested), 1 (no schema-validity
problems) or 0 (at least 1 schema-validity problem) against the I:.
Outcomes: validity | |
S: NA I: NA |
Test has not been run on that processor. |
S: 0 I: NA |
Test consists of an xsd document only. The document is not a valid representation of a schema, according to the REC definition. |
S: 1 I: NA |
Test consists of an xsd document only. The document is a valid representation of a schema, according to the REC definition. |
S: 1 I: 0 |
Test consists of a validation of an xml document against a schema. The schema is valid according to the REC definition; the xml instance does not conform to the schema. |
S: 1 I: 1 |
Test consists of a validation of an xml document against a schema. The schema is valid according to the REC definition; the xml instance conforms to the schema. |
Outcomes: consistency with expected results | |
Test outcome is as expected by the contributor. | |
Test outcome is different from what is expected by the contributor. | |
Test has not been run on that processor. |
Test description | Processor results | ||||||
TestID | Created by | Description | Resources | Expected S = schema I = instance |
Msv_Crimson Version info: Msv: 20010910, Crimson: 1.1.3 S = schema I = instance |
XSV Version info: 1.203.2.19 S = schema I = instance |
XSV Version info: 1.203.2.37 S = schema I = instance |
idc001.nogen.n00 | Sun | ID Constranints. Very naive test of identity constraint | Test files idc001.nogen.xsd idc001.nogen.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc001.nogen.v00 | Sun | ID Constranints. Very naive test of identity constraint | Test files idc001.nogen.xsd idc001.nogen.v00.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc001.nogen.v01 | Sun | ID Constranints. Very naive test of identity constraint | Test files idc001.nogen.xsd idc001.nogen.v01.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc003.e | Sun | ID Constranints. Reference to non-key constraint. | Test file idc003.e.xsd |
Expected S: 0 I: NA |
Msv_Crimson S: 0 I: NA |
XSV S: 1 I: NA |
XSV S: 1 I: NA |
idc004a.e | Sun | ID Constraints. Key/keyref field size mismatch. | Test file idc004a.e.xsd |
Expected S: 0 I: NA |
Msv_Crimson S: 0 I: NA |
XSV S: 1 I: NA |
XSV S: 1 I: NA |
idc005.nogen.n00 | Sun | ID Constraints. very naive test of identity constraint. | Test files idc005.nogen.xsd idc005.nogen.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc005.nogen.n01 | Sun | ID Constraints. very naive test of identity constraint. | Test files idc005.nogen.xsd idc005.nogen.n01.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc005.nogen.v00 | Sun | ID Constraints. Very naive test of identity constraint. | Test files idc005.nogen.xsd idc005.nogen.v00.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
idc006.nogen.n00 | Sun | ID Constaints. XPath engine test: ".//a/*/b" and use of "." for both selector and field. | Test files idc006.nogen.xsd idc006.nogen.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
idc006.nogen.n01 | Sun | ID Constraints. XPath engine test: ".//a/*/b" and use of "." for both selector and field. | Test files idc006.nogen.xsd idc006.nogen.n01.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
xsd001.n00 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 0 |
XSV S: 0 I: NA |
xsd001.n00 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 0 |
XSV S: 0 I: NA |
xsd001.n01 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n01.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 0 |
XSV S: 0 I: NA |
xsd001.n02 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n02.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.n03 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n03.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.n04 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n04.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.n05 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n05.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.n06 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.n06.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.v00 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.v00.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.v00 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.v00.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.v01 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.v01.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.v02 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.v02.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd001.v03 | Sun | - use of elementFormDefault="unqualified" - unusual minOccurs/maxOccurs (3 and 7 respectively) - complexType with simpleContent, and restriction. - simpleType within restriction. | Test files xsd001.xsd xsd001.v03.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 0 I: NA |
xsd002.v01 | Sun | - use of elementFormDefault="unqualified" - use of elementFormDefault and form attribute. - implicit use of "ur-type" as the content model of element. | Test files xsd002.xsd xsd002.v01.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 0 |
XSV S: 1 I: 0 |
xsd003a.v00 | Sun | Element redefinition. Test without redefinition. | Test files xsd003a.xsd xsd003a.v00.xml xsd003.xsdmod |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: NA |
XSV S: 1 I: 1 |
xsd003b.n00 | Sun | Element redefinition. Test with redefinition with self-reference. @add in xsd003b.n00.xml must be number | Test files xsd003b.xsd xsd003b.n00.xml xsd003.xsdmod |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: NA |
XSV S: 0 I: NA |
xsd003b.n01 | Sun | Element redefinition. Test with redefinition with self-reference. @gAtt is redefined to allow yes/no only | Test files xsd003b.xsd xsd003b.n01.xml xsd003.xsdmod |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: NA |
XSV S: 0 I: NA |
xsd003b.v00 | Sun | Element redefinition. Test with redefinition with self-reference. | Test files xsd003b.xsd xsd003b.v00.xml xsd003.xsdmod |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: NA |
XSV S: 0 I: NA |
xsd003b.v01 | Sun | Element redefinition. Test with redefinition with self-reference. | Test files xsd003b.xsd xsd003b.v01.xml xsd003.xsdmod |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: NA |
XSV S: 0 I: NA |
xsd006.v00 | Sun | minOccurs/maxOccurs. Various combinations. | Test files xsd006.xsd xsd006.v00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
xsd011.n03 | Sun | Nillable. | Test files xsd011.xsd xsd011.n03.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
xsd011.v00 | Sun | Nillable. | Test files xsd011.xsd xsd011.v00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 0 |
XSV S: 1 I: 0 |
xsd021.v00 | Sun | anyOtherAttribute. | Test files xsd021.xsd xsd021.v00.xml xsd021a.xsdmod xsd021b.xsdmod |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 0 |
XSV S: 1 I: 0 |
xsd022.n00 | Sun | Various forms of forward reference to the simple type. | Test files xsd022.xsd xsd022.n00.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
xsd022.v00 | Sun | Simple type. Various forms of forward reference to the simple type. | Test files xsd022.xsd xsd022.v00.xml |
Expected S: 1 I: 1 |
Msv_Crimson S: 1 I: 1 |
XSV S: 0 I: NA |
XSV S: 0 I: NA |
xsd023.e | Sun | Simple type. Recursive definition. | Test file xsd023.e.xsd |
Expected S: 0 I: NA |
Msv_Crimson S: 0 I: NA |
XSV S: 1 I: NA |
XSV S: 1 I: NA |
xsiType-block-1.n1 | Test block attribute (1) - use block="extension" at the B type. This should exclude all types that uses extension. | Test files xsiType-block-1.xsd xsiType-block-1.n1.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-1.n2 | Test block attribute (1) - use block="extension" at the B type. This should exclude all types that uses extension. | Test files xsiType-block-1.xsd xsiType-block-1.n2.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-1.n3 | Test block attribute (1) - use block="extension" at the B type. This should exclude all types that uses extension. | Test files xsiType-block-1.xsd xsiType-block-1.n3.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-1.n4 | Test block attribute (1) - use block="extension" at the B type. This should exclude all types that uses extension. | Test files xsiType-block-1.xsd xsiType-block-1.n4.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-2.n1 | Test block attribute (2) - use block="extension" as the blockDefault attribute. This should achieve the same result as the previous test case. | Test files xsiType-block-2.xsd xsiType-block-2.n1.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-2.n2 | Test block attribute (2) - use block="extension" as the blockDefault attribute. This should achieve the same result as the previous test case. | Test files xsiType-block-2.xsd xsiType-block-2.n2.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-2.n3 | Test block attribute (2) - use block="extension" as the blockDefault attribute. This should achieve the same result as the previous test case. | Test files xsiType-block-2.xsd xsiType-block-2.n3.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-2.n4 | Test block attribute (2) - use block="extension" as the blockDefault attribute. This should achieve the same result as the previous test case. | Test files xsiType-block-2.xsd xsiType-block-2.n4.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-3.n1 | Test block attribute (3) - use block="extension" for the child2 element. child2 has no block constraint. - see if @block for element is working as expected. | Test files xsiType-block-3.xsd xsiType-block-3.n1.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-3.n2 | Test block attribute (3) - use block="extension" for the child2 element. child2 has no block constraint. - see if @block for element is working as expected. | Test files xsiType-block-3.xsd xsiType-block-3.n2.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-3.n3 | Test block attribute (3) - use block="extension" for the child2 element. child2 has no block constraint. - see if @block for element is working as expected. | Test files xsiType-block-3.xsd xsiType-block-3.n3.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-3.n4 | Test block attribute (3) - use block="extension" for the child2 element. child2 has no block constraint. - see if @block for element is working as expected. | Test files xsiType-block-3.xsd xsiType-block-3.n4.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-4.n1 | Test block attribute (4) - use block="extension" for the child2 element. child2 has no block constraint. - use block="restriction" for the Dr type. - see if @block for element and @block for types interacts as expected. | Test files xsiType-block-4.xsd xsiType-block-4.n1.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-4.n2 | Test block attribute (4) - use block="extension" for the child2 element. child2 has no block constraint. - use block="restriction" for the Dr type. - see if @block for element and @block for types interacts as expected. | Test files xsiType-block-4.xsd xsiType-block-4.n2.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-4.n3 | Test block attribute (4) - use block="extension" for the child2 element. child2 has no block constraint. - use block="restriction" for the Dr type. - see if @block for element and @block for types interacts as expected. | Test files xsiType-block-4.xsd xsiType-block-4.n3.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 1 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |
|
xsiType-block-4.n4 | Test block attribute (4) - use block="extension" for the child2 element. child2 has no block constraint. - use block="restriction" for the Dr type. - see if @block for element and @block for types interacts as expected. | Test files xsiType-block-4.xsd xsiType-block-4.n4.xml |
Expected S: 1 I: 0 |
Msv_Crimson S: 1 I: 0 |
XSV S: 1 I: 1 |
XSV S: 1 I: 1 |