XML Schema Test Results

Copyright and Licence

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.

Overview

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:.

Key

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.

Output summary for ms-group (Microsoft)

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
groupA003 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two global groups with same id
Test file
groupA003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA004 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two groups with same id, one from global, one inside a complexType
Test file
groupA004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA005 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two groups with same id, one from complexType, one inside choice
Test file
groupA005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA006 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two groups with same id, one from restriction and one from redefine
Test file
groupA006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA007 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two groups with same id, one from choice and one from imported
Test file
groupA007.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA008 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id: two groups with same id, one from imported xsd and the other from included xsd
Test file
groupA008.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA009 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id:, id=''
Test file
groupA009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA010 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id:, id='1'
Test file
groupA010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupA012 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - A
Test id:, id='a:b'
Test file
groupA012.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupB015 Microsoft Syntax Checking (id, ref)
Specs section: Model Group Tests - B
Test ref: circular ref is not allowed out side of redefine, parent is restriction, ref='the root parent group's name'
Test file
groupB015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupC003 Microsoft Syntax Checking (name)
Specs section: Model Group Tests - C
Test name: two groups with same name, one from global one from redefine
Test file
groupC003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupC009 Microsoft Syntax Checking (name)
Specs section: Model Group Tests - C
Test name:, name=''
Test file
groupC009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupC010 Microsoft Syntax Checking (name)
Specs section: Model Group Tests - C
Test name:, name='1'
Test file
groupC010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupD001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - D
Test particles: parent is schema can't have minOccurs, minOccurs=1
Test file
groupD001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupD002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - D
Test particles: parent is redefine can't have minOccurs, minOccurs=1
Test file
groupD002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupD003 Microsoft Content Checking (particles)
Specs section: Model Group Tests - D
Test particles: parent is schema can't have maxOccurs, maxOccurs=1
Test file
groupD003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupD004 Microsoft Content Checking (particles)
Specs section: Model Group Tests - D
Test particles: parent is redefine can't have maxOccurs, maxOccurs=1
Test file
groupD004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupE001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - E
parent is extension: check that minOccurs default is 1, minOccurs=absent, maxOccurs=0
Test file
groupE001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupE002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - E
parent is extension: check that maxOccurs default is 1, minOccurs=2, maxOccurs=absent
Test file
groupE002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupF007v Microsoft Content Checking (particles)
Specs section: Model Group Tests - F
parent is extension: elements in instant XML=0, minOccurs=0, maxOccurs=0
Test files
groupF007.xsd
groupF007.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupF008v Microsoft Content Checking (particles)
Specs section: Model Group Tests - F
parent is extension: elements in instant XML=1, minOccurs=0, maxOccurs=0
Test files
groupF008.xsd
groupF008.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupF009v Microsoft Content Checking (particles)
Specs section: Model Group Tests - F
parent is extension: elements in instant XML=0, minOccurs=0, maxOccurs=999999999999999999999
Test files
groupF009.xsd
groupF009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupF022 Microsoft Content Checking (particles)
Specs section: Model Group Tests - F
parent is extension: minOccurs=2, maxOccurs=1
Test file
groupF022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupG001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - G
parent is restriction: check that minOccurs default is 1, minOccurs=absent, maxOccurs=0
Test file
groupG001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupG002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - G
parent is restriction: check that maxOccurs default is 1, minOccurs=2, maxOccurs=absent
Test file
groupG002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupH007v Microsoft Content Checking (particles)
Specs section: Model Group Tests - H
parent is restriction: elements in instant XML=0, minOccurs=0, maxOccurs=0
Test files
groupH007.xsd
groupH007.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupH008v Microsoft Content Checking (particles)
Specs section: Model Group Tests - H
parent is restriction: elements in instant XML=1, minOccurs=0, maxOccurs=0
Test files
groupH008.xsd
groupH008.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupH009v Microsoft Content Checking (particles)
Specs section: Model Group Tests - H
parent is restriction: elements in instant XML=0, minOccurs=0, maxOccurs=999999999999999
Test files
groupH009.xsd
groupH009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupH022 Microsoft Content Checking (particles)
Specs section: Model Group Tests - H
parent is restriction: minOccurs=2, maxOccurs=1
Test file
groupH022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 0
I: NA
groupI001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - I
parent is sequence: check that minOccurs default is 1, minOccurs=absent, maxOccurs=0
Test file
groupI001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupI002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - I
parent is sequence: check that maxOccurs default is 1, minOccurs=2, maxOccurs=absent
Test file
groupI002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupJ009v Microsoft Content Checking (particles)
Specs section: Model Group Tests - J
parent is sequence: elements in instant XML=0, minOccurs=0, maxOccurs=99999999999
Test files
groupJ009.xsd
groupJ009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupJ022 Microsoft Content Checking (particles)
Specs section: Model Group Tests - J
parent is sequence: minOccurs=2, maxOccurs=1
Test file
groupJ022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupJ023 Microsoft Content Checking (particles)
Specs section: Model Group Tests - J
parent is sequence: minOccurs=1, maxOccurs=0
Test file
groupJ023.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupK001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - K
parent is choice: check that minOccurs default is 1, minOccurs=absent, maxOccurs=0
Test file
groupK001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupK002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - K
parent is choice: check that maxOccurs default is 1, minOccurs=2, maxOccurs=absent
Test file
groupK002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupL009v Microsoft Content Checking (particles)
Specs section: Model Group Tests - L
parent is choice: elements in instant XML=0, minOccurs=0, maxOccurs=999999999
Test files
groupL009.xsd
groupL009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupL022 Microsoft Content Checking (particles)
Specs section: Model Group Tests - L
parent is choice: minOccurs=2, maxOccurs=1
Test file
groupL022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupL023 Microsoft Content Checking (particles)
Specs section: Model Group Tests - L
parent is choice: minOccurs=1, maxOccurs=0
Test file
groupL023.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupM001 Microsoft Content Checking (particles)
Specs section: Model Group Tests - M
parent is complexType: check that minOccurs default is 1, minOccurs=absent, maxOccurs=0
Test file
groupM001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupM002 Microsoft Content Checking (particles)
Specs section: Model Group Tests - M
parent is complexType: check that maxOccurs default is 1, minOccurs=2, maxOccurs=absent
Test file
groupM002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupN007v Microsoft Content Checking (particles)
Specs section: Model Group Tests - N
parent is complexType: elements in instant XML=0, minOccurs=0, maxOccurs=0
Test files
groupN007.xsd
groupN007.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupN008v Microsoft Content Checking (particles)
Specs section: Model Group Tests - N
parent is complexType: elements in instant XML=1, minOccurs=0, maxOccurs=0
Test files
groupN008.xsd
groupN008.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupN009v Microsoft Content Checking (particles)
Specs section: Model Group Tests - N
parent is complexType: elements in instant XML=0, minOccurs=0, maxOccurs=999999999
Test files
groupN009.xsd
groupN009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 0
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupN022 Microsoft Content Checking (particles)
Specs section: Model Group Tests - N
parent is complexType: minOccurs=2, maxOccurs=1
Test file
groupN022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
groupO002 Microsoft Content Checking (Particles)
Specs section: Model Group Tests - O
Test content: annotation, two annotation as child nodes
Test file
groupO002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupO003 Microsoft Content Checking (Particles)
Specs section: Model Group Tests - O
Test content: annotation must be the first node if present, two children, sequence follow by annotation
Test file
groupO003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
groupO005v Microsoft Content Checking (Particles)
Specs section: Model Group Tests - O
Test content: (xml instant is invalid) annotation follow by all
Test files
groupO005.xsd
groupO005.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 1
XSV
S: 1
I: 1
groupO027 Microsoft Content Checking (Particles)
Specs section: Model Group Tests - O
Test parent: parent is group
Test file
groupO027.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA