W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Multiple include problem in XML-Schema (XSD).

From: Venkateswar, Wunnava <Wunnava.Venkateswar@kla-tencor.com>
Date: Mon, 28 May 2001 18:30:57 -0400 (EDT)
Message-ID: <CD51EDE9A95DD411AD0000D0B75B42340239B5FD@MILXPR02>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Is there a mechanism in XML-Schema specification by which I can stop
multiple includes of a Schema (XSD)?
I have the following scenario.
Schema-A.xsd "includes" "CustomDatatypes.xsd"
Schema-B.xsd "includes" "CustomDatatypes.xsd"
Schema-C.xsd "includes" "CustomDatatypes.xsd"
"Schema-D.xsd" "includes" "Schema-A.xsd" AND "Schema-B.xsd" AND
This causes "redefinition" errors for the datatypes in the
"CustomDatatypes.xsd" because it is included multiple times. Is there a
syntax in XMLSchema language to work around this. Unfortunately I need to
have the schemas:Schema-A, Schema-B, Schema-C in separate documents because
I have to validate instances of documents that confirm to these schemas
Can any one suggest a solution or any thing I am doring wrong or missing.
Best Regards,
Received on Monday, 11 June 2001 05:34:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:51 UTC