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

when are duplicated type definitions allowed?

From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Tue, 18 Nov 2008 16:31:51 +0100
To: xmlschema-dev@w3.org
Message-Id: <200811181631.52007.tobias.koenig@trolltech.com>
when are duplicated type definitions allowed?

Hej,

I can't find any clear explanation in the schema 1.1 (1.0) spec how to handle
multiple imports of the same schema through different documents.

e.g. A imports B and C (with different namespaces)
       B imports D 
       C imports D
				(B and C import D with the same namespace)

so all the types/elements/attributes from D appear suddenly twice in the 
target schema... is that allowed?

Another situation: let's have the same type/element/attribute definitions
in two schema files with different filenames (URIs)
What should happen if a third schema includes (or imports) these two
files?

Thanks in advance

Ciao,
Tobias
Received on Tuesday, 18 November 2008 15:27:36 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.