[Bug 29614] New: [FO31] fn:data

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

            Bug ID: 29614
           Summary: [FO31] fn:data
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: editorial
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The description of fn:data on arrays in FO31

"If the item is an array, the result of applying fn:data to each member of the
array, in order, is appended to the result sequence."

doesn't do as good a job of describing the case where the array is empty as in
XQ31 which uses the text

"If the item is an array $a, atomization is defined as $a?* ! fn:data(.), which
is equivalent to atomizing the members of the array."

Reading F&O only, I was expecting fn:data([]) to be similar to applying fn:data
to a node which does not have a typed value.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 6 May 2016 10:41:00 UTC