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

Re: clarification/errata: circular attributeGroup, ur-type & include

From: <Noah_Mendelsohn@lotus.com>
Date: Thu, 25 Oct 2001 11:27:53 -0400
To: ht@cogsci.ed.ac.uk (Henry S. Thompson)
Cc: sandygao@ca.ibm.com, www-xml-schema-comments@w3.org, xmlschema-dev@w3.org
Message-ID: <OFC5CCE119.57A347FF-ON85256AF0.004CEC88@lotus.com>
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 11:38:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:57 UTC