This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Irrecoverable BUG in MSXML 4.0 concerning ancestor::*[condition][1]
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Irrecoverable BUG in MSXML 4.0 concerning ancestor::*[condition][1]
- From: "Alexander Gutman" <gutman at novosoft-us dot com>
- Date: Fri, 3 Aug 2001 15:28:18 +0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
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