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 1477 - [FO] fn:idref: allow node to be empty in signature
Summary: [FO] fn:idref: allow node to be empty in signature
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:16 UTC by Michael Rys
Modified: 2005-09-29 11:28 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2005-05-19 20:16:44 UTC
The node is often calculated and the signature should allow it to avoid static 
typing issues. Proposed rewording:

fn:idref($arg as xs:string*) as node()*
fn:idref($arg as xs:string*, $node as node()?) as node()*
Summary: Returns the sequence of element or attribute nodes with an IDREF 
value matching the value of one or more of the ID values supplied in $arg.

The function returns a sequence, in document order with duplicates eliminated, 
containing every element or attribute node $N that satisfies all the following 
conditions:

1new. If $node is the empty sequence, it returns the empty sequence.
...
Comment 1 Mary Holstege 2005-07-21 20:46:42 UTC
The working group considered this comment at its meeting today
and decided not to accept it. For rationale, please see bug 1467.