Community
Participate
Working Groups
i very often see the case, where the jsp editor reports several errors with underlining and markers -- but both the validator (run manually) and the problems view say, there are no errors. not quite so often both editor and problems view report errors the validator does not find. in all these cases the validator is always right! apparently both the editor and the problems view need to be more attentive (and responsive) to the results of the validator. -- Configuration Details -- Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Can you give a concrete example?
Hi Arne, I know it's been awhile. But is there any way to provide us with an example?
I have this problem if I change the validation settings. If one activates validation in e.g. jsp or html files and one uses e.g. deprecated html attributes the validatation shows a warning in the problems view, on the left side of the window (yellow exclamation mark) in the vertical ruler and on the right side in the overview ruler and finally as native problem underlined in the editor itself, as all configured in annotations. However if one chooses to deactivate the validator in build and manually completly and one does revalidate the warning correctly dissapears from problems view and vertical ruler, but the editor still underlines the old places as native problem and the overview ruler on the right side does not get updated, too. This is fixed if you clode eclipse and open it again. Steps to reproduce: 1. Create html file with one table tag with deprecated width attribute in it: <table width="100%"></table> 2. Activate html validation if not already active and see the warnings 3. Deactive html validation and see native problem underlines and overview ruler annotation 4. Restart eclipse and see all annotations disappear correctly While testing I figered out this is not reproducable in a "empty" project with only this test file, but in every real project workspace I have. I attached the smallest one consisting only of a few javascript files. Here must be a different validation bug be related, as the warnings in these files don't dissapear from problems/markers view although validation is completly deactivated. Maybe this is related to the wrong annotations shown in the editor and overview ruler. I also attached two screenshots showing the correct annotations with validation active and the wrong annotations with validation deactivated (after manually validation of course).
Created attachment 216625 [details] Active validation, correct annotations
Created attachment 216626 [details] deactived validation and wrong annotations
Created attachment 216627 [details] Small project from indigo sp1 with reproducable table.html in it