Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema? [Thread Next] RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
