Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: including a schema document multiple times

From: "Michael Kay" <mike@--------.--->
To: "'Sandy Gao'" <sandygao@--.---.--->, "'Wolfgang Jeltsch'" <wolfgang@-------.--->
Date: 9/18/2006 9:40:00 PM
It claims to be carefully worded, but many readers would disagree! In
particular, it relies on the concept of two schema components being
"identical", which is nowhere defined. In fact it is explicitly =
undefined:
in 3.4.6 we read "conforming implementations may disagree as to whether
components are identical".
 
Michael Kay
http://www.saxonica.com/


  _____  

From: xmlschema-dev-request@w... [mailto:xmlschema-dev-request@w...] =
On
Behalf Of Sandy Gao
Sent: 18 September 2006 18:47
To: Wolfgang Jeltsch
Cc: xmlschema-dev@w...
Subject: Re: including a schema document multiple times



The spec is clear about multiple inclusion of the same document is OK. =
See
sections 4.2.1. 

"Note: The above is carefully worded so that multiple <include>ing of =
the
same schema document will not constitute a violation of clause 2 of =
Schema
Properties Correct (=A73.16.6), but applications are allowed, indeed
encouraged, to avoid <include>ing the same schema document more than =
once to
forestall the necessity of establishing identity component by =
component." 

It's less clear about circular inclusion, but it's generally believed =
that
it's also allowed. 

Thanks,
Sandy Gao
XML Parser Development, IBM Canada
(1-905) 413-3255
sandygao@c...




Wolfgang Jeltsch <wolfgang@j...> 
Sent by: xmlschema-dev-request@w... 


18/09/2006 12:36 PM 


To
xmlschema-dev@w... 

cc

Subject
including a schema document multiple times

=09





Hello,

is it problematic to include a schema document multiple times via =
different 
paths?  For example, I might have a schema document which includes =
schema 
documents A, B, and C which in turn include a schema document providing
basic 
definitions.

What about circular inclusion?

Best wishes,
Wolfgang






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