[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Variables scope - weird behavior of msxml3 ?

Subject: Re: Variables scope - weird behavior of msxml3 ?
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Tue, 24 Apr 2001 02:31:06 +0400
Re:  Variables scope - weird behavior of msxml3 ?
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.