W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2008

[Bug 5985] New: converting a sequence into a string

From: <bugzilla@wiggum.w3.org>
Date: Sun, 24 Aug 2008 02:24:11 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-5985-523@http.www.w3.org/Bugs/Public/>


           Summary: converting a sequence into a string
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org

Four sections in the XQuery 1.0 spec: Attributes Computed Attribute Constructors Computed Processing Instruction Constructors Computed Comment Constructors
have substantially the same chunk of text, for converting an XDM sequence
into a string value:

   1.  Atomization is applied to the [input], converting it to a
       sequence of atomic values.
   2.  If the result of atomization is an empty sequence, the [output]
       is the zero-length string. Otherwise, each atomic value in the
       atomized sequence is cast into a string.
   3.  The individual strings resulting from the previous step are merged
       into a single string by concatenating them with a single space
       character between each pair. The resulting string [is the output].

Could these be abstracted into a single concept/process for 1.1?

Configure bugmail: http://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 Sunday, 24 August 2008 02:24:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:24 UTC