This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Irrecoverable BUG in MSXML 4.0 concerning ancestor::*[condition][1]


Hello, friends.

Let's use MSXML 4.0 (July) and transform this:

  <root><node/></root>

via this:

  <xsl:template match="/root">
    <result>
      <xsl:for-each select="node">
        <xsl:if test="ancestor::*[true()][1]"><OK/></xsl:if>
      </xsl:for-each>
    </result>
  </xsl:template>

As a result, we obtain <result></result>
instead of <result><OK/></result>.

This time, I failed to find a work-around, switched to 3.0,
and had to stop testing MSXML 4.0 due to this bug.
Now I am working in 3.0 and waiting for the next version
to appear with (at least) this bug fixed.

-- 
Alexander E. Gutman

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]