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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 06 May 2016 10:39:03 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29614-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 6 May 2016 10:41:00 UTC