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 1474 - [FO] fn:resolve-QName and empty nodes
Summary: [FO] fn:resolve-QName and empty nodes
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on: 1467
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-19 20:08 UTC by Michael Rys
Modified: 2005-09-29 11:27 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2005-05-19 20:08:05 UTC
This is a newer function that has not the right signature. Since the node is 
often calculated by means of a path expression, we should allow empty:

11.1.1 fn:resolve-QName
fn:resolve-QName($qname as xs:string?, $element as element()?) as xs:QName?

...

If the $qname has a prefix and if there is no namespace binding for $element 
that matches this prefix or $element is the empty sequence, then an error is 
raised [err:FONS0004].
Comment 1 Mary Holstege 2005-07-21 20:45:17 UTC
The working group considered this comment at its meeting today
and decided not to accept it. For rationale, please see bug 1467.