[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 14:57:35 EDT 2020


     [ https://issues.redhat.com/browse/JBIDE-27204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Iván Brizuela updated JBIDE-27204:
----------------------------------
    Steps to Reproduce: 
??<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:body>
	<!-- Intialize a Set with two elements -->
	<h:outputText value="#{{'foo', 'bar'}}" />
</h:body>
</html>??

  was:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:body>
	<!-- Intialize a Set with two elements -->
	<h:outputText value="#{{'foo', 'bar'}}" />
</h:body>
</html>



> 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
>
> EL allows dynamic creation of collection objects:
> ??<h:outputText value="#{{'foo', 'bar'}}" />??
> 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