W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2007

[Bug 4437] Error for xsi: schema location to appear too late

From: <bugzilla@wiggum.w3.org>
Date: Thu, 29 Mar 2007 20:19:18 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1HX15a-0003Na-9r@wiggum.w3.org>

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

           Summary: Error for xsi: schema location to appear too late
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: unclassified
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Section 4.3.2 of the structures spec has

"xsi:schemaLocation and xsi:noNamespaceSchemaLocation [attributes] can occur on
any element. 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."

It's not clear what value this rule brings, but it does prohibit certain usage
of schema (where different parts of a document uses different portions of
components from the same namespace) and certain schema processing modes (where
schemas are pre-built and cached and xsi: schema location attributes are
ignored).
Received on Thursday, 29 March 2007 20:19:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:41 GMT