- This topic has 2 replies, 2 voices, and was last updated 17 years, 10 months ago by emmanuel.
-
AuthorPosts
-
emmanuelMemberHello eApps,
Using;
WinXP
Eclipse Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx Build id: M20060921-0945
ME Version: 5.1.0 GA Build id: 20061111-5.1.0-GAI notice two anomalies regarding JSP validation.
1. no matter which options I select/deselect in Window->Preferences->Validation->JSP the project’s JSPs are validated. I know this because ME shows JSP validation errors. The only option that works is if I select suspend all validators–but this is not what I want. 😮
2. JSP validation is incorrectly done. Here is my scenario. I make use of standard files (jspf) which are included in main pages. I suggest when ME validates, main JSP pages and the jspf files should first be assembled to make up the complete JSP. At run time this is done and thus parses and compiles correctly but during JSP validation within ME, because the individual pieces aren’t well formed on their own, erroneous validation errors are produced by ME. An example, the <body> tag is in one jspf and the </body> is in main JSP file. ME does not first combine the files before validation, thus picks up the </body> tag as unmatched. Aforementioned is merely one example of my case. 💡
Could you please assist me in this matter and if this is a bug, could you please log it? ❓
Kind regards
Emmanuel
Riyad KallaMember1) After making the change you need to rebuild your project to clear the markers and then re-validate.
2) This is exactly what is done with the JSP validator, but not with the HTML validator (which is what is reporting the HTML-errors, like mismatched tags)
Another option you have is to tell MyEclipse to skip validation on individual files if you wanted to.
I would suggest turning off the HTML validator first, then rebuilding your project and seeing if that improves things.
emmanuelMemberHello Riyad,
Thank you, turning on all validators and turning off only the HTML validator did it.
Kind regards
Emmanuel -
AuthorPosts