W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2007

[Bug 4123] MS additional tests: schemaLocation

From: <bugzilla@wiggum.w3.org>
Date: Tue, 02 Jan 2007 00:35:02 +0000
CC:
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1H1XcM-0001fd-C3@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:56 GMT