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-attribute (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
attA001 Microsoft Syntax Checking for Attribute Declaration (form)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - A
Test attribute declaration with optional attribute form = 'qualified' at top level
Test file
attA001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attA002 Microsoft Syntax Checking for Attribute Declaration (form)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - A
Test attribute declaration with optional attribute form = 'unqualified' at top level
Test file
attA002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attB005 Microsoft Syntax Checking for Attribute Declaration (id)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - B
Test attribute declaration with optional attribute id = ''
Test file
attB005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attB006 Microsoft Syntax Checking for Attribute Declaration (id)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - B
Test attribute declaration with optional attribute id = '0'
Test file
attB006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC004 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = ''
Test file
attC004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attC005 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = '0'
Test file
attC005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC006 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = '''
Test file
attC006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC007 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = 'a:b' namespace for prefix 'a' is declared
Test file
attC007.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC008 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = 'a:b' namespace for prefix 'a' is NOT declared
Test file
attC008.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC009 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = 'a:b:b'
Test file
attC009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attC010 Microsoft Syntax Checking for Attribute Declaration (name)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - C
Test attribute declaration with attribute name = ':_'
Test file
attC010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attD002 Microsoft Syntax Checking for Attribute Declaration (type)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - D
Global attribute declaration type='global complex type'
Test file
attD002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attD006 Microsoft Syntax Checking for Attribute Declaration (type)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - D
Global attribute declaration type='123'
Test file
attD006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attE006 Microsoft Syntax Checking for Attribute Declaration (ref)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - E
Local attribute declaration ref='123'
Test file
attE006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attF001 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - F
Test attribute declaration with optional attribute use = 'prohibited'
Test files
attF001.xsd
attF001.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 1
XSV
S: 1
I: 1
attF008 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - F
Test global attribute declaration with optional attribute use = 'default'
Test file
attF008.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attF009 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - F
Test global attribute declaration with optional attribute use = 'fixed'
Test file
attF009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attF010 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - F
Test global attribute declaration with optional attribute use = ''
Test file
attF010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attF011 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - F
Test global attribute declaration with optional attribute use = 'foo'
Test file
attF011.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attG001 Microsoft Syntax Checking for Attribute Declaration (targetNamespace)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - G
Attribute/attribute with non schema namespacetargetNamespace='foo:bar'
Test file
attG001.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attG002 Microsoft Syntax Checking for Attribute Declaration (targetNamespace)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - G
Attribute/attribute with non schema namespacetargetNamespace=''
Test file
attG002.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attG003 Microsoft Syntax Checking for Attribute Declaration (targetNamespace)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - G
Attribute/attribute with non schema namespacetargetNamespace='http://foo'
Test file
attG003.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attH001 Microsoft Syntax Checking for Attribute Declaration (value)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - H
Test attribute declaration with optional attribute value = 'string'
Test file
attH001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attI004 Microsoft Syntax Checking for Attribute Declaration (content)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - I
Basic attribute with two annotation content
Test file
attI004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attI005 Microsoft Syntax Checking for Attribute Declaration (content)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - I
Basic attribute with simpleType follow by annotation content
Test file
attI005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attJ002 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - J
xml doc specify the attribute, attribute decl under schema, use = 'prohibited'
Test files
attJ002.xsd
attJ002.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 1
XSV
S: 1
I: 1
attJ003 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - J
xml doc specify the attribute, attribute decl under complex type, use = 'prohibited'
Test files
attJ003.xsd
attJ003.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 1
XSV
S: 1
I: 1
attJ011 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - J
parent is schema, use = 'default'
Test file
attJ011.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attJ012 Microsoft Syntax Checking for Attribute Declaration (use)
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - J
parent is schema, use = 'fixed'
Test file
attJ012.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa003 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=optional, default=abc',
Test file
attKa003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa004 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=required, default=abc',
Test file
attKa004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa005 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=prohibited, default=abc',
Test file
attKa005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa007 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=optional, fixed=abc',
Test file
attKa007.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa008 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=required, fixed=abc',
Test file
attKa008.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa009 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, use=prohibited, fixed=abc',
Test file
attKa009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKa015 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Ka
Schema Rep Constraint: 1. Parent is schema, targetNamespace of the attribute decl is http://www.w3.org/2001/XMLSchema-instance, ,
Test file
attKa015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb001 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, default and fixed both present, ,
Test file
attKb001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb004 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, use=required, default=abc',
Test file
attKb004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb005 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, use=prohibited, default=abc',
Test file
attKb005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb010 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, ref present, name present,
Test file
attKb010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKb012 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, ref present, form attribute present,
Test file
attKb012.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb013 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, ref present, type attribute present,
Test file
attKb013.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKb015 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, name= xmlns, ,
Test file
attKb015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb016 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, name=xmlns:, ,
Test file
attKb016.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb017 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, name=xmlns:a, ,
Test file
attKb017.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKb018 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kb
Schema Rep Constraint: 1. Parent is attributeGroup, targetNamespace of the attribute decl is http://www.w3.org/2001/XMLSchema-instance, ,
Test file
attKb018.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc001 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, default and fixed both present, ,
Test file
attKc001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc004 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, use=required, default=abc',
Test file
attKc004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc005 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, use=prohibited, default=abc',
Test file
attKc005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc010 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, ref present, name present,
Test file
attKc010.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc012 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, ref present, form attribute present,
Test file
attKc012.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc013 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, ref present, type attribute present,
Test file
attKc013.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attKc015 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, name= xmlns, ,
Test file
attKc015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc016 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, name=xmlns:, ,
Test file
attKc016.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc017 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, name=xmlns:a, ,
Test file
attKc017.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attKc018 Microsoft Schema Representation Constraint: Attribute Declaration Representation OK
Specs section: 3.2.3 Constraints on XML Representations of Attribute Declarations - Kc
Schema Rep Constraint: 1. Parent is complexType, targetNamespace of the attribute decl is http://www.w3.org/2001/XMLSchema-instance, ,
Test file
attKc018.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attLa005 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - La
Validation Rule: Attribute Locally Valid: Parent is schema , fixed='abc' , xml instant NOT has the attribute with value='abc',
Test files
attLa005.xsd
attLa005.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attO002 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: type=int, fixed='abc'
Test file
attO002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attO003 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: type=int, default='abc'
Test file
attO003.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attO005 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid (check normalization): type=int, default=" 1 2"
Test file
attO005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attO006 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid (check normalization): type=int, fixed=' 123', instant xml value=' 123 '
Test files
attO006.xsd
attO006.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attO008 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid (check normalization): type=string, fixed=' 1 2 3', instant xml value=' 1 2 3'
Test files
attO008.xsd
attO008.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 1
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attO009 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid (check normalization): type=NMTOKENS, fixed=" -linebreak -tab X -tab -linebreak Y -linebreak Z -linebreak", instant xml value='X Y Z'
Test files
attO009.xsd
attO009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attO011 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid (check normalization): type=string, fixed=" -linebreak -tab X -tab -linebreak Y -linebreak Z -linebreak", instant xml value=' X Y Z '
Test files
attO011.xsd
attO011.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 1
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attO013 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=absent
Test file
attO013.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO014 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=optional
Test file
attO014.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO015 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=required
Test file
attO015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO016 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=prohibited
Test file
attO016.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO017 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=absent
Test file
attO017.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO019 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=required
Test file
attO019.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO020 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=prohibited
Test file
attO020.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO021 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=absent
Test file
attO021.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO022 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=optional
Test file
attO022.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO023 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=required
Test file
attO023.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO024 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=prohibited
Test file
attO024.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attO025 Microsoft Validation Rule: Attribute Locally Valid
Specs section: 3.2.4 Attribute Declaration Validation Rules - O
Validation Rule: Attribute Locally Valid: global attribute 'foo' with, fixed="123", referenced in complexType fixed="345"
Test file
attO025.xsd
Expected
S: 1
I: NA
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attP002 Microsoft Validation checking from Prima0
Specs section: 3.2.4 Attribute Declaration Validation Rules - P
element decl within attribute decl
Test file
attP002.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attP006 Microsoft Validation checking from Prima0
Specs section: 3.2.4 Attribute Declaration Validation Rules - P
type="my simple type", fixed=NOT conform to the type
Test file
attP006.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attP009 Microsoft Validation checking from Prima0
Specs section: 3.2.4 Attribute Declaration Validation Rules - P
use=required, fixed="37" (must appear once, value must be "37"), instant xml value does not appear
Test files
attP009.xsd
attP009.xml
Expected
S: 1
I: 1
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 0
XSV
S: 1
I: 0
attP030 Microsoft Validation checking from Prima0
Specs section: 3.2.4 Attribute Declaration Validation Rules - P
use=prohibited, default="37" (must not appear in xml instant, attribute does appear in the instant XML (attribute not exist in instant doc)
Test file
attP030.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attP031 Microsoft Validation checking from Prima0
Specs section: 3.2.4 Attribute Declaration Validation Rules - P
use=prohibited, fixed="37" (must not appear in xml instant, attribute does appear in the instant XML (attribute not exist in instant doc)
Test files
attP031.xsd
attP031.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 0
XSV
S: 1
I: 1
XSV
S: 1
I: 1
attQ001 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
parent is complexType, Attr Decl before simpleContent
Test file
attQ001.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ004 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
Attr Decl before annotation
Test file
attQ004.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ005 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
Parent is schema, and name is absent
Test file
attQ005.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ008 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with the same name, one inside attribute Group and other is a reference to global attribute
Test file
attQ008.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ009 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with the same name, one from local one from referenced attribute Group
Test file
attQ009.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ011 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with the same name, one from global, one from from redefine XSD with same namespace
Test file
attQ011.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ012 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with the same name, one from global, one from included XSD
Test file
attQ012.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ013 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with the same name, reference from different attributeGroup
Test file
attQ013.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ015 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with same id, one under attribute group and, one in element.
Test file
attQ015.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 1
I: NA
XSV
S: 1
I: NA
attQ016 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with same id, one under attribute group and, one from imported xsd
Test file
attQ016.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ017 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with same id, one in complex type and, one redefine
Test file
attQ017.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attQ018 Microsoft Additional, missing, plumbing test cases
Specs section: 3.2.4 Attribute Declaration Validation Rules - Q
two attribute decl with same id, one in element and one from included
Test file
attQ018.xsd
Expected
S: 0
I: NA
Msv_Crimson
S: 1
I: NA
XSV
S: 0
I: NA
XSV
S: 0
I: NA
attZ002 Microsoft Bug Regressions
Specs section: Z
71821 - prohibited attribute doesn't work
Test files
attZ002.xsd
attZ002.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 1
I: 1
XSV
S: 1
I: 1
XSV
S: 1
I: 1
attZ003 Microsoft Bug Regressions
Specs section: Z
Bug 68655 - xml:space attribute cannot be added to the parent when there are children existing
Test files
attZ003.xsd
attZ003.xml
Expected
S: 1
I: 0
Msv_Crimson
S: 0
I: NA
XSV
S: 1
I: 0
XSV
S: 1
I: 0