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

Re: Re: Reference to variable cannot be resolved.

Subject: Re: Re: Reference to variable cannot be resolved.
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 14 Feb 2003 21:22:37 +0100
parent cannot be resolved
"David Carlisle" <davidc@xxxxxxxxx> wrote in message
news:200302141952.TAA10657@xxxxxxxx
>
> > What the WD specifies is two or more x-s with exactly the same scope.
> not _exactly_ the same as the second isn't in the scope of the first.
> I agree it looks worse because there isn't an explicit scope marking
> but xsl:variable is really just (let ...) with an implicit end of scope
> ) inserted at the end of the parent element, isn't it?
>
>
> I agree to xsl:variables with the same name that are siblings are
> probably a user error, but in stopping that xslt1 also stopped
> rebinding inside explicit nested element scope as well,
>
> But I think basically we are saying the same thing (just making it look
> like an argument to make it interesting)

We understand what the other is saying and probably agree. Probably this is
just a matter of taste.

However, my original question (to the WG) remains unanswered: "Why should a
language support a practice that (it says) must be discouraged?"


>
> > I think the biggest problem here is that the scope of a variable is no
> > longer obvious in these cases.

=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




 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.