Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Permit (greedy) conflicting wildcards

From: "Michael Kay" <mike@--------.--->
To: <noah_mendelsohn@--.---.--->
Date: 4/10/2007 11:27:00 AM
> I think 
> you're looking for something more, which is for the component 
> such as a complexType resulting from a given source level 
> declaration in a schema document to have the same validation 
> semantics regardless of the larger schema in which it's employed.

Well, the main thing I'm looking for is conformance with the rule in
XSLT/XQuery which says that a schema component used at query/stylesheet
compilation time must have the same semantics as the same component when
used at run-time. And yes, I'm trying to do this without "freezing" the
whole schema, because XSLT/XQuery also allow new components to appear at
run-time (for example, from xsi:schemaLocation in an instance document
supplied as input to the transformation) that were not known at compile
time. So in this sense you're right: I'm trying to find rules that allow the
schema as a whole to be extended while retaining confidence that the
assumptions I made at query compile time relating to type-safety are still
true when the query is executed. I'm trying to do this by freezing the parts
of the schema on which compiled queries depend.

If one took the "late binding" principle to extremes, then it would be
impossible to do anything useful at query compilation time, which would
obviously be unacceptable. So it's a question of finding the right level of
late binding.

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


From mike@s... Tue Apr 10 09:51:17 2007
Received: from li


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