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

Re: including a schema document multiple times

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Mon, 18 Sep 2006 13:46:57 -0400
To: Wolfgang Jeltsch <wolfgang@jeltsch.net>
Cc: xmlschema-dev@w3.org
Message-ID: <OFD48C25E2.A6803205-ON852571ED.005DDB75-852571ED.0061AD7D@ca.ibm.com>
Re: including a schema document multiple times
The spec is clear about multiple inclusion of the same document is OK. See 
sections 4.2.1.

"Note: The above is carefully worded so that multiple <include>ing of the 
same schema document will not constitute a violation of clause 2 of Schema 
Properties Correct (ยง3.16.6), but applications are allowed, indeed 
encouraged, to avoid <include>ing the same schema document more than once 
to forestall the necessity of establishing identity component by 
component."

It's less clear about circular inclusion, but it's generally believed that 
it's also allowed.

Thanks,
Sandy Gao
XML Parser Development, IBM Canada
(1-905) 413-3255
sandygao@ca.ibm.com




Wolfgang Jeltsch <wolfgang@jeltsch.net> 
Sent by: xmlschema-dev-request@w3.org
18/09/2006 12:36 PM

To
xmlschema-dev@w3.org
cc

Subject
including a schema document multiple times







Hello,

is it problematic to include a schema document multiple times via 
different 
paths?  For example, I might have a schema document which includes schema 
documents A, B, and C which in turn include a schema document providing 
basic 
definitions.

What about circular inclusion?

Best wishes,
Wolfgang
Received on Monday, 18 September 2006 17:47:12 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.