W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2005

[Bug 1477] New: [FO] fn:idref: allow node to be empty in signature

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 May 2005 20:16:44 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DYrRk-0003So-N1@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1477

           Summary: [FO] fn:idref: allow node to be empty in signature
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org
 BugsThisDependsOn: 1467


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.
...
Received on Thursday, 19 May 2005 20:16:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC