tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject Re: Jasper2: serious problem with tag declarations
Date Thu, 27 Jun 2002 00:04:26 GMT
On Wed, 26 Jun 2002, Jan Luehe wrote:

> > - in the same case, the 'a' variable is declared at the top
> > of the file, even if it is AT_END. That brakes previous <iterate>
> > that used the 'a' id. I believe this is a bug.
> 
> According to the spec, the scope of an AT_END variable spans
> from the end element of the tag exposing it to the end of the page.
> 
> The previous jasper did not implement this correctly:
> If the tag exposing the AT_END variable was nested, the previous
> jasper would declare the variable at its nesting level, limiting
> its visibility. I think this was in violation of the spec.

However the current jasper exposes it from the beginning of
the service() method - which is also in violation of the spec.
( i.e. AT_END is before AT_BEGIN and anything else ).


Costin


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message