Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Circular imports? (newbie)

From: "Michael Kay" <mike@--------.--->
To: "'Gary Maltzen'" <xml-schema@----.--->, "'XMLSchema-Dev'" <xmlschema-dev@--.--->
Date: 5/18/2005 3:37:00 PM
> 
> Although XMLSchema spec section 4.2.2 clearly states that it 
> is invalid 
> to import into a namespace a schema from the same namespace, 
> it is not 
> clearly spelled out that (whether?) it holds for descendant imports.


yes, it is allowed. You must import a namespace if you refer to any
components in that namespace, and it's certainly allowed for A to reference
components in B while B refers to components in A.

I find xsl:import easier to understand if you think of it as importing a
namespace rather than importing a schema [document].

Michael Kay
http://www.saxonica.com/



From Paul.V.Biron@k... Wed May 18 18:25:47 2005
Re


transparent
Print
Mail
Digg
delicious
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