This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Variables scope - weird behavior of msxml3 ?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Variables scope - weird behavior of msxml3 ?
- From: "Nikolai Grigoriev" <grig at renderx dot com>
- Date: Tue, 24 Apr 2001 02:31:06 +0400
- References: <FHEBIIJOBHDNLGLAHNBPAEALCCAA.ost@olegtkachenko.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Oleg,
> Ok, msxml has a bug, but what about the following template:
>
> <xsl:template match="blabla">
> <xsl:variable name="var"/>
> <html>
> <xsl:variable name="var"/>
> </html>
> </xsl:template>
>
> It must be an error - local variables cannot be overlapped, but why this works
in
> Xalan (xalan-j 2.0.1) and XT ? Can anybody check it ?
For XT, there is an excuse - it says in the docs that some errors are silently
ignored. For Xalan, there's no other explanation but the negligence. Ergo:
use SAXON, it reports this error.
Best regards,
Nikolai Grigoriev
RenderX
P.S. By the way: this was already discussed on fido7.ru.xml :-).
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list