[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Multiple schemas in one document

From: Michael Kay <mike@saxonica.com>
Date: Thu, 5 May 2005 09:09:36 +0100
To: "'Frank Gross'" <fg@4js.com>, "'xmlschema-Dev'" <xmlschema-dev@w3.org>
Message-ID: <E1DTbQY-0000vQ-7G@bart.w3.org>
multiple targetnamespaces

The spec permits it (the xs:schema element doesn't have to be the outermost
element of a document, and the definition of "schema document" is actually
an xs:schema element rather than an XML document as such). But the spec
doesn't go out of its way to encourage the practice and I'm not aware of
schema processors that enable it.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Frank Gross
> Sent: 04 May 2005 09:41
> To: xmlschema-Dev
> Subject: Multiple schemas in one document
> 
> 
> Hi list,
> 
>   I'm new to XML schema, so please excuse me if my question 
> seams stupid.
> Does it exist a way to put multiple schemas (with different
> targetNamespaces) in one single document that is still considered as a
> schema and thus readable by any validator or have all schemas to be in
> separate files ???
> 
> 
> Regards,
> 
> Frank GROSS.
> 
> 
> 
> 
> 
Received on Thursday, 5 May 2005 08:09:50 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.