Community
Participate
Working Groups
Build Identifier: 20110916-0149 EL conditional operator in JSP produces error: Encountered "<EOF>" at line 1, column 12. Was expecting one of: <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <STRING_LITERAL> ... "true" ... "false" ... "null" ... "(" ... "-" ... "not" ... "!" ... "empty" ... <IDENTIFIER> ... "not" ... "!" ... "-" ... "empty" ... "true" ... "false" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <STRING_LITERAL> ... "null" ... "(" ... <IDENTIFIER> ... <IDENTIFIER> ... <IDENTIFIER> ... <IDENTIFIER> ... <IDENTIFIER> ... <IDENTIFIER> ... <IDENTIFIER> ... Reproducible: Always Steps to Reproduce: 1. Install wtp-M-3.3.2-20111026220513.zip from http://build.eclipse.org/webtools/committers/ 2. Create JSP file with line <input type="text" ${disabled == 'true' ? 'disabled="disabled"' : ''} /> 3. Fragment "= '" in EL expression is marked with red line, error marker appears.
Created attachment 206471 [details] patch Looks like the entirety of the embedded EL region was not being passed for translation.
Code checked in.