[Bug 4123] MS additional tests: schemaLocation

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4123

           Summary: MS additional tests: schemaLocation
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org


The following test:

<test group="addB156" name="addB156.i"/>

expects the instance document to be invalid on the basis of the statement in
Part 1 section 4.3.2 list item 4: "However, it is an error if such an attribute
occurs after the first appearance of an element or attribute information item
within an element information item initially ·validated· whose [namespace name]
it addresses."

However, Schema Representation Constraint: Schema Document Location Strategy
list item 1 says that the processor has the option to "Do nothing, for instance
because a schema containing components for the given namespace name is already
known to be available". [It's odd that this is a schema representation
constraint as it depends on the instance document, but that's another question]

It seems to me that it is therefore legitimate for the processor to ignore the
second xsi:schemaLocation attribute rather than raising a validity error.

Received on Tuesday, 2 January 2007 00:35:08 UTC