- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 14 Sep 2006 08:11:25 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3726 Summary: Errors from fn:collection Product: XPath / XQuery / XSLT Version: Candidate Recommendation Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Functions and Operators AssignedTo: ashok.malhotra@oracle.com ReportedBy: tim@cbcl.co.uk QAContact: public-qt-comments@w3.org I may be completely off the mark here, but comparing the error codes from fn:collection and fn:doc, there seems to be an inconsistency. Why does fn:collection not return FODC0004 when the argument is not a valid xs:anyURI? fn:collection If the $arg is a relative xs:anyURI, it is resolved against the value of the base-URI property from the static context. If $arg is not a valid xs:anyURI, an error is raised [err:FODC0002]. FODC0002 = Error retrieving resource. fn:doc $uri is not a valid xs:anyURI, an error is raised [err:FODC0005]. If it is a relative URI Reference, it is resolved relative to the value of the base URI property from the static context. FODC0005 = Invalid argument to fn:collection.
Received on Thursday, 14 September 2006 08:11:34 UTC