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

[Bug 29364] XQueryX stylesheet is missing support for unaryLookup

From: <bugzilla@jessica.w3.org>
Date: Fri, 08 Jan 2016 21:49:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29364-523-0p6fFjSdLW@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29364

--- Comment #1 from Josh Spiegel <josh.spiegel@oracle.com> ---
Tentative fix is to modify lookup as follows:

  <xsl:template match="xqx:lookup | xqx:unaryLookup">
    <xsl:text> ?</xsl:text>
    <xsl:choose>
      <xsl:when test="xqx:star | xqx:NCName | xqx:integerLiteral">
        <xsl:apply-templates/>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$LPAREN"/>
        <xsl:apply-templates/>
        <xsl:value-of select="$RPAREN"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 8 January 2016 21:49:42 UTC

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