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

[Bug 6733] [XQX] XQueryX for leading "/"

From: <bugzilla@wiggum.w3.org>
Date: Thu, 30 Apr 2009 23:59:41 +0000
To: public-qt-comments@w3.org
Message-Id: <E1LzgAH-0005P8-3Q@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6733


Jim Melton <jim.melton@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |FIXED




--- Comment #2 from Jim Melton <jim.melton@acm.org>  2009-04-30 23:59:40 ---
Upon further consideration, the Working Group decided that it would be worth
accommodating this common case and directed me to pose a solution.  Because we
believe (I think) that the only case where this is needed is when the source
XQueryX (.xqx) document contains the sequence:
          <xqx:pathExpr>
            <xqx:rootExpr/>
          </xqx:pathExpr>
I propose that the solution be to modify the template for xqx:rootExpr to
become:
  <xsl:template match="xqx:rootExpr">
    <xsl:if test="parent::xqx:pathExpr">
      <xsl:text>( </xsl:text>
    </xsl:if>
    <xsl:value-of select="$SLASH"/>
    <xsl:if test="parent::xqx:pathExpr">
      <xsl:text> )</xsl:text>
    </xsl:if>
  </xsl:template>

I'm leaving the bug RESOLVED, but changing the resolution to FIXED.  If you
agree with this solution, please mark it CLOSED. 


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 30 April 2009 23:59:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:57 GMT