W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2011

Re: Here is a list of the ways that an XML Schema document may use other XML Schema documents ... is the list complete?

From: Noah Mendelsohn <nrm@arcanedomain.com>
Date: Fri, 20 May 2011 11:49:57 -0400
Message-ID: <4DD68DA5.7000800@arcanedomain.com>
To: "Costello, Roger L." <costello@mitre.org>
CC: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Roger Costello wrote:

 > Below is a list of the ways that an XML Schema document
 > may use other XML Schema documents. Is this the complete
 > list? Have I missed any?

In the sense I think you mean, that's right. To be absolutely complete, 
there is also the possibility that one (or more) schema documents would be 
used to validate another schema document. And to be very picky about it, a 
schema document could have an xsi:type referencing a schema document, 
though I admit that last one is quite unlikely, except perhaps in the case 
that something in an <annotation> tries it (I.e. to support validation of 
the annotation content with some schema).

Hey, you asked!

Noah

On 5/20/2011 10:26 AM, Costello, Roger L. wrote:
> Hi Folks,
>
> An XML Schema document may use other XML Schema documents.
>
> Below is a list of the ways that an XML Schema document may use other XML Schema documents. Is this the complete list? Have I missed any?
>
> 1.<include>
>
> 2.<import>
>
> 3.<redefine>
>
> 4.<override>
>
>
> /Roger
>
>
Received on Friday, 20 May 2011 15:50:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 May 2011 15:50:20 GMT