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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29273

            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 "&".
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