[Bug 16259] New: [F+O 3.0] fn:data() applied to atomic value

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16259

           Summary: [F+O 3.0] fn:data() applied to atomic value
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.0
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The specification for fn:data() with zero arguments (new in 3.0) states that
error XPTY0004 is raised if the context item is not a node. This contradicts
the statement that "the behavior of the function if the argument is omitted is
exactly the same as if the context item had been passed as the argument", since
data(.) works perfectly well when the context item is an atomic value.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 7 March 2012 16:22:39 UTC