- 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>
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 UTC