https://issues.apache.org/bugzilla/show_bug.cgi?id=56516

--- Comment #6 from ad...@moparisthebest.com ---
I also tend to agree that declaring the variable once at the beginning
*probably* isn't the right solution, however I think the way this is currently
handled is still wrong.

Right now the variable is only declared once, but in whatever scope it is used
in first, so if it's in a small scope at the beginning and you declare the tag
anywhere else later it breaks.  I think a better behavior would be to declare
it everytime the tag is used, so if people need to put smaller scopes around
their tags it's at least a decent work around.

I also don't know exactly why variables aren't just declared whenever
VariableInfo.getDeclare() is true, it is always in my test case, yet it never
gets declared a second time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to