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 12553 - [FO30] fn:namespace-uri-for-prefix, clarify the namespace URI for elements in no namespace
Summary: [FO30] fn:namespace-uri-for-prefix, clarify the namespace URI for elements in...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
: 12554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-25 21:05 UTC by Andrew Eisenberg
Modified: 2011-06-17 14:01 UTC (History)
1 user (show)

See Also:


Attachments

Description Andrew Eisenberg 2011-04-25 21:05:50 UTC
In section 10.2.5 fn:namespace-uri-for-prefix we say:

"If $prefix is the zero-length string or the empty sequence, it returns the namespace URI of the default (unnamed) namespace."

In Bug #11590 we said that we should clarify the namespace URI that is returned for an element in no namespace. 

When this situation occurs in Section 10.2.4 fn:namespace-uri-from-QName, we say, "the zero-length xs:anyURI is returned." When it occurs in Section 14.3 fn:namespace-uri, we say, "the function returns the zero-length xs:anyURI value."
Comment 1 Michael Kay 2011-04-25 21:52:15 UTC
*** Bug 12554 has been marked as a duplicate of this bug. ***
Comment 2 Michael Kay 2011-06-08 09:55:18 UTC
The resolution of this bug is recorded under the related bug #11590 (raised against the test suite.)

Andrew, can you do the honours and close it please?