| Summary: | Errors for EL conditional operator in JSP | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Victor Homyakov <vkhomyackov> | ||||
| Component: | jst.jsp | Assignee: | Nick Sandonato <nsand.dev> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nick Sandonato <nsand.dev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mauromol, thatnitind | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.3.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 206471 [details]
patch
Looks like the entirety of the embedded EL region was not being passed for translation.
Code checked in. |
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.