Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Oxygen JSP validation errors specific with nested JSTL tags

Tags:

<option value="something" <c:if test="${ }">selected</c:if>>something</option>

This line of code gets highlighted in Eclipse Oxygen, however, I was previously using Neon and this line was totally fine. Running the application is fine and there's no errors rendering the page whatsoever.

I wonder if this is specific with Oxygen or is there some settings that I'm missing here.

Edit: The line gets highlighted for missing end tag for c:if, and for <option> not closed properly, expected '>'

like image 976
Will Avatar asked Jul 13 '17 14:07

Will


1 Answers

i solved the same problem in this way: bugs/show_bug.cgi?id=518987

  • Download the Feature patch against WTP 3.9.0
  • UnZIP file and rename 518987-patch01\plugins\org.eclipse.wst.html.core_1.2.101.v20170704_fix518987_01.jar to org.eclipse.wst.html.core_1.2.100.v201705012043.jar
  • use 518987-patch01\plugins\org.eclipse.wst.html.core_1.2.100.v201705012043.jar to replace your-eclipse\plugins\org.eclipse.wst.html.core_1.2.100.v201705012043.jar
like image 181
jelen Avatar answered Oct 04 '22 17:10

jelen