Community
Participate
Working Groups
It looks like this bug works fine in WTP 1.5.x however, I was able to see the problem reported here in WTP 2.x & WTP 3.x so it looks like a later fix caused a regression with this bug. Rather than open the old bug since it was fixed in WTP 1.5.x, I'm cloning the bug so that it's open in WTP 3.x. +++ This bug was initially created as a clone of Bug #125366 +++ [Using Eclipse 3.1.1, build M20050929-0840, JST 1.0.0] If a tag has a variable declared with <scope>AT_BEGIN</scope>, the variable should have a scope from the open tag to the end of the document. So if tag <foo> creates a variable called bar, this code should work: <foo></foo> <%= bar %> But eclipse doesn't see variable "bar" after the closing tag. The only way to make it work is to use the short form for the foo tag, like this: <foo /> <%= bar %> This works. But there is no workaround if the tag really needs a body to work properly, like this: <foo>Required Body <%= bar %></foo> <%= bar %> In this case, the first "bar" usage is accepted, but the second usage is rejected.
I can confirm that there is a problem with at_begin variables. Nested and at_end variables appear to work fine.
Should be fixed, now.
verified this works in a recent 303 build