Re: importing schemas

>> Is it legal to import a schema which, 
>> in turn, imports another
>> schema? 

Yes. 

To clarify Ashok's answer: if you are combining schema documents for the 
same target namespace, you use <include>.  To reference constructions from 
a different target namespace, you <import> that namespace, possibly 
including a schemaLocation hint.  You can use <import> and <include> in 
any schema document, as appropriate.  You can re-include the same schema 
document repeatedly, thought some processors may take a small performance 
hit while ensuring that all the definitions and declarations are exactly 
the same. 

You cannot ever introduce conflicting definitions or declarations for the 
same component in a given validation (although <redefine> does allow you 
to use an early version of a component in defining an evolved one.)  

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------

Received on Wednesday, 30 May 2001 10:15:05 UTC