This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5618 - [F&O] Summary for namespace-uri-from-QName wrong
Summary: [F&O] Summary for namespace-uri-from-QName wrong
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2008-04-02 16:38 UTC by Oliver Hallam
Modified: 2008-04-23 09:28 UTC (History)
0 users

See Also:


Description Oliver Hallam 2008-04-02 16:38:19 UTC
F&O 11.2.4:

fn:namespace-uri-from-QName($arg as xs:QName?) as xs:anyURI?

Summary: Returns the namespace URI for $arg as an xs:string. If $arg is the empty sequence, the empty sequence is returned. If $arg is in no namespace, the zero-length string is returned.

Surely the summary should read xs:anyURI and not xs:string.  Also one could argue that the term "zero-length string" should read "zero-length xs:anyUri", or "xs:anyUri whose value is the zero-length string", but that is just picking hairs.
Comment 1 Michael Kay 2008-04-22 17:27:22 UTC
On 22 April 2008 the WG accepted this bug and directed the editor to raise the appropriate erratum.

To the originator: please close if you are content with this resolution.
Comment 2 Michael Kay 2008-04-22 17:51:23 UTC
This will appear as erratum E22.