Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: implementing redefinitions

From: "Michael Kay" <mike@--------.--->
To: "'Henry S. Thompson'" <ht@---.--.--.-->
Date: 8/17/2005 5:36:00 PM
> What do you (Mike) think _should_ happen in this case?  Whose
> responsibility is it to detect this condition, and what should they do
> when they do?

At present, I think a QT implementation has to use its best efforts to
ensure that there are no conflicting definitions of types, which means
raising errors when conflicts are detected. "Best efforts" might be
different in different cases - some implementations might raise false alarms
(e.g. when two definitions of a type are loaded from different places that
are actually equivalent); some implementations may put some of the burden on
the user ("don't change the schema while the service is running"); some
implementations might say that if they already have a version of a component
with a particular QName, then any new component with that name will be
ignored perhaps with a warning, and the existing version used instead. This
isn't dissimilar to what some validators do today given multiple imports of
the same namespace from different locations.

Longer term, we need a notion of component identity that's more
sophisticated than a QName. Not trivial, because we also need to refer to
types by name, without ambiguity, in QT SequenceType syntax.

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



From Paul.Vriend@d... Thu Aug 18 13:57:02 2005
Rece


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