W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2015

[Bug 29273] New: Adaptive Serialization: serialization of strings, result of fn:string

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 Nov 2015 15:49:52 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29273-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29273
           Summary: Adaptive Serialization: serialization of strings,
                    result of fn:string
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The spec states that, for adaptive serialization, "an instance of xs:string or
xs:untypedAtomic is serialized by enclosing the value in double quotation marks
and doubling any quotes within the value; or optionally by enclosing the value
in apostrophes and doubling any apostrophes within the value."

Ampersand characters should probably be represented as "&amp;".
The same rule could be applied to value of any other type: Right now, the spec
says that "VAL is the result of applying the fn:string() function", but it may
not immediately be clear how the result is going to look like if fn:string()
yields ampersands or quotes.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 9 November 2015 15:50:00 UTC

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