From jira-events at lists.jboss.org Wed Jan 18 14:03:18 2012 Content-Type: multipart/mixed; boundary="===============0095557084171721638==" MIME-Version: 1.0 From: Alexey Kazakov (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] (JBIDE-10661) Incorrect validation of ELs with syntax errors Date: Wed, 18 Jan 2012 14:03:18 -0500 Message-ID: <1671207837.8807.1326913398226.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1661180191.6561.1326852378219.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============0095557084171721638== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-10661?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:all-tabpanel ] Alexey Kazakov updated JBIDE-10661: ----------------------------------- Summary: Incorrect validation of ELs with syntax errors (was: EL valid= ator should ignore ELs with syntax errors) = > Incorrect validation of ELs with syntax errors > ---------------------------------------------- > > Key: JBIDE-10661 > URL: https://issues.jboss.org/browse/JBIDE-10661 > Project: Tools (JBoss Tools) > Issue Type: Bug > Components: jsp/jsf/xml source editing > Affects Versions: 3.3.0.Beta1 > Reporter: Alexey Kazakov > Assignee: Alexey Kazakov > Fix For: 3.3.0.Beta1 > > > 1. Create JSF 2 Kick Start project. > 2. Open WebContent/pages/inputname.xhtml > 3. Add #{asd.} in any text node: > {code} > > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core" > xmlns:ez=3D"http://java.sun.com/jsf/composite/demo"> > #{asd.} > > Input User Name > JSF 2 Hello Application > > > > > > > {code} > 4. Save the file. > 5. See problems view. There are two EL KB problems. One is "'asd.' cannot= be resolved". And the other one is "Syntax error". We should ignore EL if = there is a syntax error. So the only correct warning for #{abc.} is the syn= tax problem. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============0095557084171721638==--