[jbosstools-issues] [JBoss JIRA] (JBIDE-27204) Invalid 'EL syntax error: Expecting Expression' on Set initialization

Iván Brizuela (Jira) issues at jboss.org
Thu Apr 16 18:16:37 EDT 2020


    [ https://issues.redhat.com/browse/JBIDE-27204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039691#comment-14039691 ] 

Iván Brizuela commented on JBIDE-27204:
---------------------------------------

Yes:

# Create the file included above in "Steps to reproduce" in Eclipse IDE (myself using 2020-03) with JBoss Tools installed.
# Have the IDE perform validation on the file, which should happen automatically normally.

* *Expected:* No errors or warnings are reported, as the content is a valid EL expression and does actually work when running the application.
* *Observed:*  A warning is created with the text "EL syntax error: Expecting expression."

> Invalid 'EL syntax error: Expecting Expression' on Set initialization
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-27204
>                 URL: https://issues.redhat.com/browse/JBIDE-27204
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html-source-editing
>    Affects Versions: 4.14.0.Final
>            Reporter: Iván Brizuela
>            Priority: Minor
>             Fix For: 4.16.0.AM1
>
>
> EL allows dynamic creation of collection objects:
> {code:html}
> <h:outputText value="#{{'foo', 'bar'}}" />
> {code}
> The syntax is valid, but JBT reports the warning "EL syntax error: Expecting expression."
> The same error was reported for List constructions in: [JBIDE-17987|https://issues.redhat.com/browse/JBIDE-17987]



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list