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

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