- From: Khaled Noaman <knoaman@ca.ibm.com>
- Date: Thu, 25 Oct 2001 12:02:54 -0400
- To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
- CC: Sandy Gao/Toronto/IBM <sandygao@ca.ibm.com>, www-xml-schema-comments@w3.org, xmlschema-dev@w3.org
Hi Henry, On the same topic: If schema A includes B & C, and imports D. Do B and C have access to components in D? Thanks, Khaled Noaman IBM Toronto Lab knoaman@ca.ibm.com xmlschema-dev-request@w3.org wrote: > Sandy Gao writes: > >> >If schema document A includes B, and B *imports* C. Does A have access > >> > to components in C? > > Henry Thompson responds: > >> See above -- no. > > Clarification. You cannot make explicit references from document A using > a prefix (or default NS) resolving to C. BUT, your components in A may be > indirectly using components from C. Lets assume that a type declared in B > derives from one in C (which is possible because B imports C). Document A > can declare elements using that type because it includes B. Such use > obviously involves information from the base type in C as will as the > explicit reference in B. > > In the end, it's all one schema, but there are limitations on references > that can be explicitly made in schema documents. > > ------------------------------------------------------------------------ > Noah Mendelsohn Voice: 1-617-693-4036 > Lotus Development Corp. Fax: 1-617-693-8676 > One Rogers Street > Cambridge, MA 02142 > ------------------------------------------------------------------------
Received on Thursday, 25 October 2001 12:04:25 UTC