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

question about mutual <import>ing

From: <neilg@ca.ibm.com>
Date: Wed, 13 Jun 2001 11:16:51 -0400
To: xmlschema-dev@w3.org
Message-ID: <OF72EFFB29.F7E55EEE-ON85256A6A.005381EF@torolab.ibm.com>
Hello,

Consider a situation in which two schema documents contain <import>
information items which refer to one another.  Now suppose both schemas
contain references to components declared in the other schema.  I have two
questions:

1.  Is it valid for two schema documents to import one another?
2.  If the answer to 1. is yes, then is it also valid for both to contain
references to components declared in the other schema?

Please find attached an instance document and two schemas which exhibit
this behaviour.
(See attached file: bug2132.xml)(See attached file: bug2132A.xsd)(See
attached file: bug2132B.xsd)

Thanks for any help.
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  416-448-3519, T/L 778-3519
E-mail:  neilg@ca.ibm.com

Received on Wednesday, 13 June 2001 11:17:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT