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

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

           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:  
http://www.w3.org/XML/Group/2004/08/xml-schema-ftf-minutes#id0x08cdd2c0
 
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