Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Indirect imports (XML Spy versus XERCES)

From: "David Kruppke" <kruppke@-----.--->
To: <xmlschema-dev@--.--->
Date: 7/5/2004 1:00:00 PM
Hi all,

Suppose the following example:

schema importininclude.xsd
<xs:schema ... targetnamespace="A">
  <xs:element name="A"/>

schema include.xsd
<xs:schema targetnamespace="B">
  <xs:import namespace="A" schemaLocation="importininclude.xsd"/>


schema main.xsd
<xs:schema targetnamespace="B" xmlns:px="A">
  <xs:include schemaLocation="include.xsd"/>
  <xs:element ref="px:A"/>

XMLSpy">XMLSpy is able to handle such an "indirect" import, they use an
"xs:include" quasi as a text replacement and I think that is OK.

XERCES needs the xs:import in main.xsd in order to know "px:A".


Does anybody know a W3C rule for that??


Thanks in advance


David

From gerald@w...  Wed Jul  7 14:50:41 2004
Return-Path: <gera


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent