Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #143209 +++ The code in org.eclipse.wst.html.core.internal.validate.HTMLAttributeValidator.validate(IndexedRegion) contains a couple of branches where it could report unknown names and attributes, but it will only do so on JSP regions. Shouldn't it be reversed to report them as unknown names and values when it's *not* a JSP region?
This bug was created to track putting the fix for bug 143209 (which has been put in wtp 2.0 m2) into wtp 1.5.3.
mass update to remove target for all those targeted to 1.5.3 that were "normal" severity and "priority 3" (on the surface those dont' seem serious enough to fix in a maintenance release). If I have made an error pleasae reset target and set priority appropriately.
Increasing severity & priority and retargetting to 1.5.3. Having jsp code as html attributes is pretty common. The HTML validator is currently working backwards in regards to validating jsp code in html attributes (saying code is wrong when it is right, and saying code is right when it is wrong)
Created attachment 53421 [details] org.eclipse.jst.jsp.ui.tests.patch This is a patch to add some unit tests to check that jsp tags in html attributes are valid.
The actual code fix patch is exactly the same as what is in bug 143209. The only additional modification was to up the plugin version number.
fix released to 1.5.3. should be in builds > 200611090100
verified in WTP1.5.3 SDK 200611291828