Subject: Irrecoverable BUG in MSXML 4.0 concerning ancestor::*[condition][1]
From: "Alexander Gutman" <gutman@xxxxxxxxxxxxxxx>
Date: Fri, 3 Aug 2001 15:28:18 +0700
|
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
|