[Bug 29867] New: Applets translate ArrowPostfix-103 to XQueryX incorrectly

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

            Bug ID: 29867
           Summary: Applets translate ArrowPostfix-103 to XQueryX
                    incorrectly
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Grammar Test Applets
          Assignee: jmdyck@ibiblio.org
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Here is the query from ArrowPostfix-103:

  (1, 2, 3, 4) => Q{http://www.w3.org/2005/xpath-functions}sum()

The w3c applets convert it to the following XQueryX:

<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.w3.org/2005/XQueryX
                                http://www.w3.org/2005/XQueryX/xqueryx.xsd">
  <xqx:mainModule>
    <xqx:queryBody>
      <xqx:arrowExpr>
        <xqx:argExpr>
          <xqx:sequenceExpr>
            <xqx:integerConstantExpr>
              <xqx:value>1</xqx:value>
            </xqx:integerConstantExpr>
            <xqx:integerConstantExpr>
              <xqx:value>2</xqx:value>
            </xqx:integerConstantExpr>
            <xqx:integerConstantExpr>
              <xqx:value>3</xqx:value>
            </xqx:integerConstantExpr>
            <xqx:integerConstantExpr>
              <xqx:value>4</xqx:value>
            </xqx:integerConstantExpr>
          </xqx:sequenceExpr>
        </xqx:argExpr>
        <!-- transform_name got unexpected URIQualifiedName for name_node. -->
        <xqx:EQName
xqx:prefix="Q{http">//www.w3.org/2005/xpath-functions}sum</xqx:EQName>
        <xqx:arguments>
        </xqx:arguments>
      </xqx:arrowExpr>
    </xqx:queryBody>
  </xqx:mainModule>
</xqx:module>

The EQName is not converted correctly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 23 September 2016 16:57:20 UTC