Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema?

From: "Michael Kay" <mike@--------.--->
To: "'C. M. Sperberg-McQueen'" <cmsmcq@-------------.--->, "'Costello, Roger L.'" <costello@-----.--->
Date: 4/27/2009 6:03:00 PM
> The Last Call draft of XSD 1.1 says that 
> the 'available documents' property of the dynamic context for 
> XPath evaluation on assertions is the empty set.  That should 
> mean, if I understand correctly, that the subexpression 
> doc('countries.xml') returns the empty node sequence.

On a technicality, no: it means it throws an error, which has the same
effect as when the assertion evaluates to false. But this doesn't affect the
rest of your argument.

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


From mike@s... Mon Apr 27 16:21:02 2009
Received


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