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

[Bug 29568] New: [XQX3.1] Incorrect XQueryX conversion of "\u005c"

From: <bugzilla@jessica.w3.org>
Date: Sun, 10 Apr 2016 21:03:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29568-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29568

            Bug ID: 29568
           Summary: [XQX3.1] Incorrect XQueryX conversion of "\u005c"
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 3.1
          Assignee: jim.melton@acm.org
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Test case json-to-xml-043 reads:

fn:json-to-xml('"\u005c"')

In the XQueryX version of the test, the function call is represented as:

      <xqx:functionCallExpr>
        <xqx:functionName xqx:prefix="fn">json-to-xml</xqx:functionName>
        <xqx:arguments>
          <xqx:stringConstantExpr>
            <xqx:value>"\"</xqx:value>
          </xqx:stringConstantExpr>
        </xqx:arguments>
      </xqx:functionCallExpr>

The conversion from XQuery to XQueryX appears to be incorrect. "\u005c" is a
valid JSON string, whereas "\" is not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 10 April 2016 21:03:32 UTC

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