W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2005

[Bug 2577] xsi loc = redefine loc -- what happens?

From: <bugzilla@wiggum.w3.org>
Date: Sat, 10 Dec 2005 01:32:23 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1Ektb5-0005ST-2N@wiggum.w3.org>


           Summary: xsi loc = redefine loc -- what happens?
           Product: XML Schema
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: ht@w3.org
        ReportedBy: cmsmcq@w3.org
         QAContact: www-xml-schema-comments@w3.org

If among the set of schema documents consulted in constructing a
schema the same schema document is referred to both with an
include (or it is one of the schema documents specified by the
user as the basis for the schema to be constructed), and also
with a redefine reference, what happens?

One view is that the spec says clearly that an including
reference results in a specific schema, whose components are
included in the ultimate result schema, and that a redefining
reference results in a different set of components, which will
conflict with the first set and cause an error.

Another view is that redefinition is said to have ubiquitous
effect, so that the redefinition of components should also
affect components directly included in the schema.

This issue was discussed in Redmond in August 2004:  
XSD 1.1 must be clear on what effect this has (this is part of
requirement RQ-151 to clarify schema composition), and a clarification
or erratum should be issued on XSD 1.0.
Received on Saturday, 10 December 2005 01:32:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:04 UTC