TEST :schema collection and schema location : Schema Collection: (A,a.xsd), SchemaLocation: (B,b.xsd), NoNSSchemaLocation: c.xsd TEST :schema collection and schema location : Schema Collection:(A,a.xsd), SchemaLocation: (A,b.xsd), NoNSSchemaLocation:, expected: the xml instance must conform to (A,a.xsd), the inline schemaLocation (A,b.xsd) is ignored. WG decided this might reasonably vary between implementations TEST :schema collection and schema location : Schema Collection:(A,a.xsd), SchemaLocation:, NoNSSchemaLocation:, TEST :schema collection and schema location : Schema Collection:, SchemaLocation:(A,a.xsd), NoNSSchemaLocation:, TEST :schema collection and schema location : Schema Collection:(A,a.xsd) (B, b.xsd), SchemaLocation:(B,a.xsd), NoNSSchemaLocation:, xmlinstance should conform to (A,a.xsd)(B,b.xsd), ignore the inline SchemaLocation (B,a.xsd) WG decided this might reasonably vary between implementations TEST :schema collection and schema location : Schema Collection:(A,a.xsd), SchemaLocation:(A,c.xsd)(B,b.xsd), NoNSSchemaLocation: The instance xml conform to (A,a.xsd)(B,b.xsd) WG decided this might reasonably vary between implementations TEST :schema collection and schema location : Schema Collection:(A,a.xsd), SchemaLocation:(A,c.xsd)(B,b.xsd where b.xsd's tns=foo), NoNSSchemaLocation: Since b.xsd exist, this should give error because the targetNS 'B' is not the same as what is in b.xsd 'foo' TEST :schema collection and schema location : test the ID attribute on include, by setting duplicated id TEST :schema collection and schema location : test the ID attribute on include, by setting duplicated id TEST :schema collection and schema location : test the annotation child node of include TEST :schema collection and schema location : single include TEST :schema collection and schema location : Schema Location resolved to not-wf XML, test the resolution of schemaLoction on include (SRC 1) TEST :schema collection and schema location : Schema Location resolved to wf XML but not a schema, test the resolution of schemaLoction on include (SRC 1) TEST :schema collection and schema location : Schema Location resolved to invalid URL, test the resolution of schemaLoction on include (SRC 1) TEST :schema collection and schema location : XSD A include XSD B, A's ns="", B's ns="A", test the namespace of include (4.2.1) (SRC 2) TEST :schema collection and schema location : XSD A include XSD B, A's ns="", B's ns="", test the namespace of include (4.2.1) (SRC 2) TEST :schema collection and schema location : XSD A include XSD B, A's ns="A", B's ns="A", test the namespace of include (4.2.1) (SRC 2) TEST :schema collection and schema location : XSD A include XSD B, A's ns="A", B's ns="B", test the namespace of include (4.2.1) (SRC 2) TEST :schema collection and schema location : A include B and C, A's ns="A", B's ns="A", C's ns="A", type ref from A to B and C, B to A and C, C to A and B TEST :schema collection and schema location : A includes B and C, B is bogus URL, C is valid XSD, test that there is no error and C is included. TEST :schema collection and schema location : schemaLocation on include should not give error for unable to resolve the path file://. WG decided this was OK, but also changed the test to have a syntactically valid by guaranteed-to-not-resolve URI TEST :schema collection and schema location : validate instance against 'chameleon' include schema (2) TEST :schema collection and schema location : test union type in a chameleon schema TEST :schema collection and schema location : test ID attribute on import, by setting duplicated id TEST :schema collection and schema location : test ID attribute on import, by setting duplicated id TEST :schema collection and schema location : test the annotation child node of include TEST :schema collection and schema location : single 'import' TEST :schema collection and schema location : import namespace="foo" TEST :schema collection and schema location : Schema location resolved to not-wf XML TEST :schema collection and schema location : Schema location resolved to wf XML but not a schema TEST :schema collection and schema location : import's Schema location resolved to invalid URL. TEST :schema collection and schema location : import's Schema location resolved to a valid URL to a bogus XSD. TEST :schema collection and schema location : XSD X import XSD Y, X's ns="A", Y's ns="", test the namespace of import TEST :schema collection and schema location : XSD X import XSD Y, X's ns="", Y's ns="A", test the namespace of import TEST :schema collection and schema location : XSD X import XSD Y, X's ns="", Y's ns="", test the namespace of import TEST :schema collection and schema location : XSD X import XSD Y, X's ns="A", Y's ns="A", test the namespace of import TEST :schema collection and schema location : XSD X import XSD Y, X's ns="A", Y's ns="B", test the namespace of import TEST :schema collection and schema location : XSD: test namespace on the xs:import statement does not match the one in the imported schema. TEST :schema collection and schema location : A import B, B import C, A's ns="A", B's ns="B", C's ns="C" TEST :schema collection and schema location : A import B, B import C, A's ns="A", B's ns="", C's ns="C" TEST :schema collection and schema location : A import B, B import C, A's ns="A", B's ns="B", C's ns="A", (A and C have no confilcting decl) TEST :schema collection and schema location : A import B and C, A's ns="A", B's ns="B", C's ns="C" TEST :schema collection and schema location : A import B and C, A's ns="A", B's ns="B", C's ns="B", (B and C have no confilcting decl) TEST :schema collection and schema location : A import B and C, A's ns="A", B's ns="B", C's ns="B", (B and C have confilcting decl) TEST :schema collection and schema location : A imports B and B and C, B imports C and D, C imports D and A, multiple import of the same XSD is ok TEST :schema collection and schema location : A import B and C, B is bogus URL, C is valid XSD, test that there is no error and C is imported. TEST :schema collection and schema location : A import B and D, B import C, A's ns="A", B's ns="B", C's ns="A", D's ns=D A has type ref to BCD, B has type ref to ACD, C has type ref to ABD TSTF agreed that an un-imported NS used in a QName is a schema error TEST :schema collection and schema location : A import B, A's ns="A", B's ns="", import ns="B" if namespace present it must be the same as targetNamespace of the imported xsd. TEST :schema collection and schema location : A import B, B import C, A's ns="A", B's ns="B", C's ns="A", (A and C have confilcting decl) TEST :schema collection and schema location : A import B, B import C, A's ns="A", B's ns="B", C's ns="B", All declaration in B and C should be available to validation TEST :schema collection and schema location : A import B, B ihas no target NS but 'import' has NS. TEST :schema collection and schema location : B added; A imports B but with bad schemaLocation, B should still be imported. WG decided this might reasonably vary between implementations TEST :schema collection and schema location : test importing schemas that make a circular reference TEST :schema collection and schema location : test ID in redefine TEST :schema collection and schema location : test annotation as child of redefine TEST :schema collection and schema location : single 'redefine' TEST :schema collection and schema location : redefine namespace="foo" TEST :schema collection and schema location : SchemaLocation resolved to not-wf XML TEST :schema collection and schema location : SchemaLocation resolved to wf XML but not a schema,(SRC 2) TEST :schema collection and schema location : SchemaLocation resolved to invalid URL, redefine has only annotation TEST :schema collection and schema location : XSD X redefine XSD Y, X's ns="", Y's ns="A", test the namespace of redefine TEST :schema collection and schema location : XSD X redefine XSD Y, X's ns="A", Y's ns="B", test the namespace of redefine TEST :schema collection and schema location : test simpleType as child of redefine, type definition that NOT uses themselves as base type definition TEST :schema collection and schema location : test simpleType as child of redefine, type definition that have no base type definition TEST :schema collection and schema location : test complexType as child of redefine, type definition that NOT uses themselves as base type definition TEST :schema collection and schema location : test complexType as child of redefine, type definition that have no base type definition TEST :schema collection and schema location : test group as child of redefine, group (all, sequence, choice) is a subset of their original def TEST :schema collection and schema location : test group as child of redefine, group (all, sequence, choice), all, is a superset of their original def by self referencing This violate the content of 'all', because it does not allow 'group' as child. Legal in XSD 1.1: an all group content model can now contain a group reference to another all group. TEST :schema collection and schema location : test group as child of redefine, group all is is the same set of their original def by redeclaring all items from the original, but in different order Invalid restriction which becomes valid in XSD 1.1 - MHK TEST :schema collection and schema location : test group as child of redefine, group sequence is the same set of their original def by redeclaring all items from the original, but in different order TEST :schema collection and schema location : test group as child of redefine, group is a superset of the original def by redeclaring all items from the original and additional ones TEST :schema collection and schema location : redefine of an invalid redefine itself, should throw an error TEST :schema collection and schema location : test attributeGroup as child of redefine, attribute group is a superset of the original def by redeclaring all items from the original and additional ones TEST :schema collection and schema location : test attributeGroup as child of redefine, attribute group is the same as the original def by redeclaring all items from the original, but in different order TEST :schema collection and schema location : redefine of an invalid redefine itself, should throw an error TEST :schema collection and schema location : redefine of att group with self ref with duplicate attribute TEST :schema collection and schema location : fixed and default constraints check in attributeGroup redefine TEST :schema collection and schema location : fixed and default constraints check in attributeGroup redefine(invalid) TEST :schema collection and schema location : schema include xsdA (ns=same) and xsdB (ns=""), both xsdA and xsdB has redefine of the same item from xsdC TEST :schema collection and schema location : schema include xsdA (ns=same) and xsdB (ns=""), xsdA: redefine a group to be a subset of itself, xsdB: redefine the same group to be a superset of itself TEST :schema collection and schema location : schema import xsdA (ns=A) and xsdB (ns=B), xsdA: redefine a group to be a subset of itself, xsdB: redefine the same group to be a superset of itself TEST :schema collection and schema location : schema import xsdA (ns=A) and xsdB (ns=A), xsdA: redefine a group to be a subset of itself, xsdB: redefine a group to be a superset of itself TEST :schema collection and schema location : duplicate element in a redefine TEST :schema collection and schema location : chameleon redefine(valid) TEST :schema collection and schema location : chameleon redefine(invalid) TEST :schema collection and schema location : XSD: components in a chameleon redefine should be ported into the namespace of the redefining schema(valid) TEST :schema collection and schema location : XSD: components in a chameleon redefine should be ported into the namespace of the redefining schema(invalid) TEST :schema collection and schema location : redefine, test that v2.xsd possess all global schema items (the one that are not in redefined) from v1.xsd, X's ns="A", Y's ns="A", from example from spec, (SRC 4.1) TEST :schema collection and schema location : redefine with a simpleType, which has an extension, (SRC 5) TEST :schema collection and schema location : redefine with a complexType, which has a restriction, (SRC 5) TEST :schema collection and schema location : redefine with a simpleType, which has a restriction, the base name is not the same as its own , (SRC 5) TEST :schema collection and schema location : redefine with a complexType, which has an extension, (SRC 5) TEST :schema collection and schema location : redefine with a complexType, which has an extension, the base name is not the same as its own , (SRC 5) TEST :schema collection and schema location : redefine with a complexType, which has a restriction, (SRC 5) TEST :schema collection and schema location : redefine with a complexType, which has a restriction, the base name is not the same as its own , (SRC 5) TEST :schema collection and schema location : redefine with a group, which has a group ref to itself in the middle, group min,maxOccurs is absent, (SRC 6.1.2) TEST :schema collection and schema location : redefine with a group, which has a group ref to itself in the middle, group minOccurs=0, (SRC 6.1.2) TEST :schema collection and schema location : redefine with a group, which has a group ref to itself in the middle, group maxOccurs=2, (SRC 6.1.2) TEST :schema collection and schema location : redefine with a group, has a group ref to a different name than its own, (SRC 6.1.1) TEST :schema collection and schema location : redefine with a group, group's name is not resolved to a model group in redefined xsd, (SRC 6.2.1) TEST :schema collection and schema location : redefine with an attributeGroup, attribute group's name is not resolved to a model group in redefined xsd, (SRC 7.2.1) TEST :schema collection and schema location : redefine with an attributeGroup, have 2 self reference in the redefining attributeGroup, (SRC 7.2.1) TEST :schema collection and schema location : redefine with a attributeGroup, attribute group's content items are a subset of the redefined group, (SRC 7.2.2) TEST :schema collection and schema location : redefine with an attributeGroup, attribute group's content items are a subset of the redefined group, test that attribute uses are not inherited. Have a use=optional on redefined attriubte, but have use=required in redefining attribute, and instance xml has no attribute, (SRC 7.2.2) TEST :schema collection and schema location : redefine with a attributeGroup, attribute group's content items are a subset of the redefined group, test that attribute uses are not inherited. Have a default="foo" in redefined attriubte, but redefining attribute has default="bar", the actual value of the instance should have 'bar' as the default attribute value (SRC 7.2.2) TEST :schema collection and schema location : redefine with an attributeGroup, attribute group's content items are a subset of the redefined group, test that attribute uses are not inherited. base attriburte with effective value absent, but redefining attribute has fixed="bar" , (SRC 7.2.2) TEST :schema collection and schema location : Circulcar redefines handeling (1) TEST :schema collection and schema location : Circulcar redefines handeling (2) TEST :schema collection and schema location : Circulcar redefines handeling (3) The WG decided the spec. is underspecified in this area, so implementations may reasonably differ TEST :schema collection and schema location : Circulcar redefines handeling (4) The WG decided the spec. is underspecified in this area, so implementations may reasonably differ TEST :schema collection and schema location : Circulcar redefines handeling (5) The WG decided the spec. is underspecified in this area, so implementations may reasonably differ TEST :schema collection and schema location : invalid localElement attributes. Test for 'abstract' TEST :schema collection and schema location : invalid localElement attributes. Test for 'final' TEST :schema collection and schema location : invalid localElement attributes. Test for 'substitutionGroup' TEST :schema collection and schema location : xsd: it is invalid to reference from a schema that is not directly imported. TSTF agreed that an un-imported NS used in a QName is a schema error TEST :schema collection and schema location : xsd: it is invalid to reference from a schema that is not directly imported. TSTF agreed that an un-imported NS used in a QName is a schema error TEST :schema collection and schema location : test redefine with schemaLocation pointing to itself TEST :schema collection and schema location : multipe redefine elements in a schema. TEST :schema collection and schema location : xsd: import of the namespace without schemaLocation should work when the schema is alread loaded in the cache. TEST :schema collection and schema location : XSD: Adding all the schemas in a diamond import scenario TEST :schema collection and schema location : xsd:import allows import of the targetNamespace. TEST :schema collection and schema location : XSD: test when a component is seen in schema whose namespace is not imported TEST :schema collection and schema location : XSD: test when a component is seen in schema whose namespace is not imported TEST :schema collection and schema location : XSD: test when a component is seen in schema whose namespace is not imported TEST :schema collection and schema location : XSD: test when a component is seen in schema whose namespace is not imported TEST :schema collection and schema location : comparison of file urls to be case insensitive while adding multiple schemas The WG decided the spec. is underspecified in this area, so implementations may reasonably differ TEST :schema collection and schema location : comparison of file urls to be case insensitive while adding multiple schemas TEST :schema collection and schema location : comparison of file urls to be case insensitive while adding multiple schemas TEST :schema collection and schema location : xsd import : main schema had a redefine statement TEST :schema collection and schema location : xsd: empty string value of namespace is not allowed for namespace attribute TEST :schema collection and schema location : xsd: empty string value of namespace is not allowed for targetNamespace attribute TEST :schema collection and schema location : XSD: test schemaLocation=""