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

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