W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2014

[Bug 25443] New: [F+O 3.1] string() applied to a sequence

From: <bugzilla@jessica.w3.org>
Date: Thu, 24 Apr 2014 14:18:30 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25443-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25443

            Bug ID: 25443
           Summary: [F+O 3.1] string() applied to a sequence
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

In the current 3.1 draft it is proposed that string() when applied to a
sequence should do a string-join(). I don't recall the precise logic for this
but it arose from some use case involving arrays.

Whatever the merits, we should note the incompatibility with XPath 1.0 which is
still very widely used and will probably remain so: in XPath 1.0, string()
applied to a sequence (set) of nodes outputs the string-value of the first node
in the sequence.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 24 April 2014 14:18:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:55 UTC