This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The XQueryX stylesheet: http://www.w3.org/XML/Group/qtspecs/specifications/xqueryx-31/html/Overview.html#Stylesheet Needs support for unaryLookup. Note, header comments indicate it was added but I don't see it.
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>
The WG agreed on 2015-01-12 to adopt the change proposed in comment 1