This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2031 - R-053: Request for clarification of include
Summary: R-053: Request for clarification of include
Status: CLOSED WORKSFORME
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 20:56 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-07 20:56:39 UTC
Assuming schema document A includes schema documents B and C, where B has the 
same target namespace as A, and C has no target namespace. Which components may 
be referenced from any given component in A, B or C?

In particular, given the following table (where R(A,B)=Y means components in A 
may refer to components in B), what should the table entries be for any 
marked "?".

R A B C
A Y Y Y
B ? Y ?
C ? ? Y
From the spec, it appears that components in B may refer to components from A 
(see bullet 4 of QName resolution (Schema Document)). Is this correct? What 
about the other cases?

See Issue 3 from the following mail:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0121.html
Comment 1 Sandy Gao 2005-09-07 21:07:58 UTC
The WG agreed that all three documents contribute components to and resolve 
their references in the single target namespace, so all cells in the table 
should be 'Y'.