TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'qualified' at top level TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'unqualified' at top level TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'foo' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = '' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'Qualified' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'Unqualified' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'qualified' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute form = 'unqualified' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = 'a' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = 'very long id > 1000 chars' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = 'all valid chars' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = '_1' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = '' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute id = '0' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = 'a' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = 'very long name > 1000 chars' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = '_1' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = '' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = '0' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = ''' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = 'a:b' namespace for prefix 'a' is declared TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = 'a:b' namespace for prefix 'a' is NOT declared TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = 'a:b:b' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with attribute name = ':_' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='global simple type' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='global complex type' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='simpleType derived by restrictrion from another simpleType' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='simpleType with a list of number' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type=':_' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='123' TEST :Syntax Checking for Attribute Declaration (form) : Global attribute declaration type='simpleType with a union of two list and a atomic simpleType' TEST :Syntax Checking for Attribute Declaration (form) : Local attribute declaration ref='global attribute name' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute ref = 'local attribute name' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute ref = 'global attributeGroup name' TEST :Syntax Checking for Attribute Declaration (form) : reference to a global complex Type with simpleContentref='foo' TEST :Syntax Checking for Attribute Declaration (form) : Local attribute declaration ref=':_' TEST :Syntax Checking for Attribute Declaration (form) : Local attribute declaration ref='123' TEST :Syntax Checking for Attribute Declaration (form) : Local attribute declaration ref='' TEST :Syntax Checking for Attribute Declaration (form) : reference an attribute that is from imported xsdref='global attribute which is declared in an imported XSD' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute use = 'prohibited' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute use = 'optional' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute use = 'required' TEST :Syntax Checking for Attribute Declaration (form) : Test local attribute declaration with optional attribute use = 'default' TEST :Syntax Checking for Attribute Declaration (form) : Test local attribute declaration with optional attribute use = 'fixed' TEST :Syntax Checking for Attribute Declaration (form) : Test local attribute declaration with optional attribute use = '' TEST :Syntax Checking for Attribute Declaration (form) : Test local attribute declaration with optional attribute use = 'foo' TEST :Syntax Checking for Attribute Declaration (form) : Test global attribute declaration with optional attribute use = 'default' TEST :Syntax Checking for Attribute Declaration (form) : Test global attribute declaration with optional attribute use = 'fixed' TEST :Syntax Checking for Attribute Declaration (form) : Test global attribute declaration with optional attribute use = '' TEST :Syntax Checking for Attribute Declaration (form) : Test global attribute declaration with optional attribute use = 'foo' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, for att declared under schema, complexType and attributeGroup, use = 'prohibited' TEST :Syntax Checking for Attribute Declaration (form) : xml doc specify the attribute, attribute decl under schema, use = 'prohibited' TEST :Syntax Checking for Attribute Declaration (form) : xml doc specify the attribute, attribute decl under complex type, use = 'prohibited' TEST :Syntax Checking for Attribute Declaration (form) : xml doc does not specify the attribute, attribute decl under attribute group, use = 'prohibited' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, use = 'optional' TEST :Syntax Checking for Attribute Declaration (form) : xml doc specify the attribute, use = 'optional' TEST :Syntax Checking for Attribute Declaration (form) : xml doc specify the attribute, for att declared under complexType and attributeGroup, use = 'required' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, attribute decl under schema use = 'required' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, attribute decl under complexType, use = 'required' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, attribute decl under attribute group use = 'required' TEST :Syntax Checking for Attribute Declaration (form) : parent is schema, use = 'default' TEST :Syntax Checking for Attribute Declaration (form) : parent is schema, use = 'fixed' TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, use = 'default' TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, use = 'fixed' TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup, use = 'default' TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup, use = 'fixed' TEST :Syntax Checking for Attribute Declaration (form) : xml doc do not specify the attribute, use = 'fixed, value="123"' TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with parent schema, parent attributeGroup, parent complexType (test most of the common type and ref) TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute with non schema namespacetargetNamespace='foo:bar' TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute with non schema namespacetargetNamespace='' TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute with non schema namespacetargetNamespace='http://foo' TEST :Syntax Checking for Attribute Declaration (form) : Test attribute declaration with optional attribute value = 'string' TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with just annotation content TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with just simpleType content TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with annotation followed by simpleType content TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with two annotation content TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with simpleType follow by annotation content TEST :Syntax Checking for Attribute Declaration (form) : Basic attribute with two simpleType content TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, default and fixed both present, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=absent, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=optional, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=required, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=prohibited, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=absent, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=optional, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=required, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, use=prohibited, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, ref present, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, type present, simpleType childNode present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, name= xmlns, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, name=xmlns:, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, name=xmlns:a, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is schema, targetNamespace of the attribute decl is http://www.w3.org/2001/XMLSchema-instance, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, default and fixed both present, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=absent, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=optional, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=required, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=prohibited, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=absent, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=optional, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=required, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, use=prohibited, fixed=abc', @fixed with use=prohibited is not allowed in XSD 1.1 TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, ref present, name present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, ref present, simpleType childNode present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, ref present, form attribute present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, ref present, type attribute present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, type present, simpleType childNode present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, name= xmlns, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, name=xmlns:, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, name=xmlns:a, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, targetNamespace of the schema is http://www.w3.org/2001/XMLSchema-instance, but form is not qualified. expected changed to valid by HST 2006-11-09 TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is attributeGroup, targetNamespace of the schema is http://www.w3.org/2001/XMLSchema-instance, form is qualified. Added by HST 2006-11-09 TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, default and fixed both present, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=absent, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=optional, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=required, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=prohibited, default=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=absent, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=optional, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=required, fixed=abc', TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, use=prohibited, fixed=abc', @fixed with use=prohibited is not allowed in XSD 1.1 TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, ref present, name present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, ref present, simpleType childNode present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, ref present, form attribute present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, ref present, type attribute present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, type present, simpleType childNode present, TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, name= xmlns, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, name=xmlns:, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, name=xmlns:a, , TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, targetNamespace of the schema is http://www.w3.org/2001/XMLSchema-instance, but form is not qualified. expected changed to valid by HST 2006-11-09 TEST :Syntax Checking for Attribute Declaration (form) : Schema Rep Constraint: 1. Parent is complexType, targetNamespace of the schema is http://www.w3.org/2001/XMLSchema-instance, and form is qualified. Added by HST 2006-11-09 TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , default='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , default='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , default='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , fixed='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , fixed='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is schema , fixed='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, default='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, default='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, default='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, fixed='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, fixed='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is attributeGroup, fixed='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, default='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, default='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, default='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, fixed='abc' , xml instant has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, fixed='abc' , xml instant NOT has the attribute with value='abc', TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: Parent is complexType, fixed='abc' , xml instant NOT has the attribute at all, TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: type=int, instant xml value ='abc' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: type=int, fixed='abc' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: type=int, default='abc' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: type=enumeration, instant xml value ='not a enumeration type' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=int, default=" 1 2" TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=int, fixed=' 123', instant xml value=' 123 ' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=string, fixed=' 1 2 3', instant xml value=' 1 2 3' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=string, fixed=' 1 2 3', instant xml value=' 1 2 3' TEST :Syntax Checking for Attribute Declaration (form) : 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 :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=NMTOKENS, fixed="#xd; #xd;A #xa; #xa;B #xd; #xa;" instant xml value='#xD #xD A #xA #xA B #xD #xA' TEST :Syntax Checking for Attribute Declaration (form) : 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 :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid (check normalization): type=string, fixed="#xd; #xd;A #xa; #xa;B #xd; #xa;" instant xml value='A B' TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=absent TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=optional TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=required TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=required, referenced in complexType with use=prohibited TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=absent TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=optional TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=required TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=optional, referenced in complexType with use=prohibited TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=absent TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=optional TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=required TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with use=prohibited, referenced in complexType with use=prohibited TEST :Syntax Checking for Attribute Declaration (form) : Validation Rule: Attribute Locally Valid: global attribute 'foo' with, fixed="123", referenced in complexType fixed="345" TEST :Syntax Checking for Attribute Declaration (form) : parent is schema (ref in complexType and attributeGroup), form=qualified, attributeFormDefault=absentattribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is schema (ref in complexType and attributeGroup), form=unqualified, attributeFormDefault=qualified,attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is schema (ref in complexType and attributeGroup), form=qualified, attributeFormDefault=absentattribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is schema (ref in complexType and attributeGroup), form=unqualified, attributeFormDefault=qualified,attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=absent, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=unqualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=qualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=absent, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=unqualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=qualified, attributeFormDefault=qualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=absent, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=unqualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=qualified, attribute in xml doc has no prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=absent, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=unqualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, form=unqualified, attributeFormDefault=qualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=absent, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=unqualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=qualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=absent, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=unqualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=qualified, attributeFormDefault=qualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=absent, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=unqualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=qualified, attribute in xml doc has no prefix, but the containing element has a default namespace declared TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=absent, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=unqualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : parent is attributeGroup,form=unqualified, attributeFormDefault=qualified, attribute in xml doc is qualified with prefix TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attributes from xsi ( xml schema instance ) namespace should be validated TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute decl within attribute decl TEST :Syntax Checking for Attribute Declaration (form) : element decl within attribute decl TEST :Syntax Checking for Attribute Declaration (form) : global decl can't contain ref TEST :Syntax Checking for Attribute Declaration (form) : type="my simple type", fixed=conform to the type, and xml instant has the attribute with valid value TEST :Syntax Checking for Attribute Declaration (form) : type="my simple type", fixed=conform to the type, and xml instant has the attribute with invalid value TEST :Syntax Checking for Attribute Declaration (form) : type="my simple type", fixed=NOT conform to the type TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed and default are absent (must appear, value can be anything), instant xml value=36 TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed and default are absent (must appear, value can be anything), instant xml attribute absent TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed="37" (must appear once, value must be "37"), instant xml value does not appear TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed="37" (must appear once, value must be "37"), instant xml value =36 TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed="37" (must appear once, value must be "37"), instant xml value =37 TEST :Syntax Checking for Attribute Declaration (form) : use=required, fixed="37" (must appear once, value must be "37"), instant xml value =38 TEST :Syntax Checking for Attribute Declaration (form) : use=absent, fixed="37" (may appear once, if appear, value must be "37"), instant xml value does not appear (attribute not exist in instant doc) TEST :Syntax Checking for Attribute Declaration (form) : use=absent, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =36 TEST :Syntax Checking for Attribute Declaration (form) : use=absent, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =37 TEST :Syntax Checking for Attribute Declaration (form) : use=absent, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =38 TEST :Syntax Checking for Attribute Declaration (form) : use=optional, fixed="37" (may appear once, if appear, value must be "37"), instant xml value does not appear (attribute not exist in instant doc) TEST :Syntax Checking for Attribute Declaration (form) : use=optional, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =36 TEST :Syntax Checking for Attribute Declaration (form) : use=optional, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =37 TEST :Syntax Checking for Attribute Declaration (form) : use=optional, fixed="37" (may appear once, if appear, value must be "37"), instant xml value =38 TEST :Syntax Checking for Attribute Declaration (form) : use=absent, default="37" (may appear once, may have any value), instant xml value does not appear (this will have the default attribute and value) TEST :Syntax Checking for Attribute Declaration (form) : use=absent, default="37" (may appear once, may have any value), instant xml value=37 TEST :Syntax Checking for Attribute Declaration (form) : use=absent, default="37" (may appear once, may have any value), instant xml value=38 TEST :Syntax Checking for Attribute Declaration (form) : use=optional, default="37" (may appear once, may have any value), instant xml value does not appear (this will have the default attribute and value) TEST :Syntax Checking for Attribute Declaration (form) : use=optional, default="37" (may appear once, may have any value), instant xml value=37 TEST :Syntax Checking for Attribute Declaration (form) : use=optional, default="37" (may appear once, may have any value), instant xml value=38 TEST :Syntax Checking for Attribute Declaration (form) : name='foo' use=optional, default="37" (may appear once, may have any value) name='foo1', instant xml value=38 TEST :Syntax Checking for Attribute Declaration (form) : use=prohibited, default="37" (must not appear in xml instant, attribute does not appear in the instant XML (attribute not exist in instant doc) TEST :Syntax Checking for Attribute Declaration (form) : use=prohibited, fixed="37" (must not appear in xml instant, attribute does not appear in the instant XML (attribute not exist in instant doc) use=prohibited, fixed=X is not allowed in XSD 1.1. See bug 14245 TEST :Syntax Checking for Attribute Declaration (form) : use=prohibited, default="37" (must not appear in xml instant, attribute does appear in the instant XML (attribute not exist in instant doc) use=prohibited, fixed=X is not allowed in XSD 1.1. See bug 14245 TEST :Syntax Checking for Attribute Declaration (form) : use=prohibited, fixed="37" (must not appear in xml instant, attribute does appear in the instant XML (attribute not exist in instant doc) TEST :Syntax Checking for Attribute Declaration (form) : Test that attributes from imported schema (global, attribute Group, complexTyped and simpleTyped) are recognized TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, Attr Decl before simpleContent TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, Attr Decl before complexContent TEST :Syntax Checking for Attribute Declaration (form) : parent is complexType, Attr Decl, followed by Attr Group, follow by Attr TEST :Syntax Checking for Attribute Declaration (form) : Attr Decl before annotation TEST :Syntax Checking for Attribute Declaration (form) : Parent is schema, and name is absent TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute decl with child of node other than notation and simpleType, child=complexType TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one follow the other in global TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one inside attribute Group and other is a reference to global attribute TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one from local one from referenced attribute Group TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one from global, one from from imported XSD with different namespace TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one from global, one from from redefine XSD with same namespace TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, one from global, one from included XSD TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with the same name, reference from different attributeGroup TEST :Syntax Checking for Attribute Declaration (form) : Attribute\attribute decl under extension element TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with same id, one under attribute group and, one in element. TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with same id, one under attribute group and, one from imported xsd TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with same id, one in complex type and, one redefine TEST :Syntax Checking for Attribute Declaration (form) : two attribute decl with same id, one in element and one from included TEST :Syntax Checking for Attribute Declaration (form) : two attribute, same loca name, from different namespace on same element TEST :Syntax Checking for Attribute Declaration (form) : Redefine and restriction of attribute TEST :Syntax Checking for Attribute Declaration (form) : prohibited attribute TEST :Syntax Checking for Attribute Declaration (form) : XSD: attribute with default value, that references a global attribute with invalid default value TEST :Syntax Checking for Attribute Declaration (form) : XSD: default value of attribute TEST :Syntax Checking for Attribute Declaration (form) : XSD:Base complex type with attribute use=required should not have derived type with attribute use=optional TEST :Syntax Checking for Attribute Declaration (form) : XSD: insertion of prohibited attribute in a derived type TEST :Syntax Checking for Attribute Declaration (form) : XSD: insertion of prohibited attribute in a derived type TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(2) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(3) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(4) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(5) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(6) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(7) TEST :Syntax Checking for Attribute Declaration (form) : XSD: fixed attribute value in derived type should be same as base type(8) TEST :Syntax Checking for Attribute Declaration (form) : when more than one xsi attribute encountered in an invalid file TEST :Syntax Checking for Attribute Declaration (form) : XSD targetNamespace attribute's type should be anyURI TEST :Syntax Checking for Attribute Declaration (form) : XSD targetNamespace attribute's type should be anyURI TEST :Syntax Checking for Attribute Declaration (form) : XSD targetNamespace attribute's type should be anyURI TEST :Syntax Checking for Attribute Declaration (form) : XSD: if a base attribute is required, then the derived attribute, if present, must have use required as well TEST :Syntax Checking for Attribute Declaration (form) : XSD: a required base attributer can not be prohibited in the derived type TEST :Syntax Checking for Attribute Declaration (form) : XSD: attribute and element declarations can not have a value constraint if it type is ID ID attributes with value constraints are allowed in XSD 1.1 - MHK TEST :Syntax Checking for Attribute Declaration (form) : XSD: attribute and element declarations can not have a value constraint if it type is derived from ID ID attributes with value constraints are allowed in XSD 1.1 - MHK TEST :Syntax Checking for Attribute Declaration (form) : XSD: No more than one attribute of type ID should be validated per Element(1) Multiple ID attributes on an element become legal in XSD 1.1 - MHK TEST :Syntax Checking for Attribute Declaration (form) : XSD: No more than one attribute of type ID should be validated per Element(2) Multiple ID attributes on an element become legal in XSD 1.1 - MHK TEST :Syntax Checking for Attribute Declaration (form) : XSD: a prohibited attribute should not be in the attribute uses of an attributeGroup TSTF concluded the test is correct