|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema?
From: Michael Kay <mike@saxonica.com>
Date: Mon, 27 Apr 2009 17:03:05 +0100 To: "'C. M. Sperberg-McQueen'" <cmsmcq@blackmesatech.com>, "'Costello, Roger L.'" <costello@mitre.org> Cc: <xmlschema-dev@w3.org> Message-ID: <E9DDC9BEDC9443C49D5AAD47D06A1CE0@Sealion> > 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/Received on Monday, 27 April 2009 16:08:27 GMT |
Subscribe in XML format
|

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




