[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5442) ELModel behaviour is unusual

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Dec 11 07:27:29 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich updated JBIDE-5442:
-----------------------------------------

    Fix Version/s: 3.1.0.GA
                       (was: 3.1.0.M4)


> ELModel behaviour is unusual
> ----------------------------
>
>                 Key: JBIDE-5442
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5442
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.CR1
>            Reporter: Victor Rubezhny
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.1.0.GA
>
>
> When searching for the ELExpressions (using the org.jboss.tools.common.el.core.model.ELUtil.findExpression(ELModel, int)) the ELModel object behaves in unusual way in different cases. 
> If we have non-closed EL, the ELModel instance for this EL don't take into account a whitespace characters at the end of expression. Thus the ELModel instance never finds an ELExpression for the non-closed EL in any position other than first (nearest to the openning bracket) of whitespaced EL tail (which exists in EL in many cases in EL's placed in text nodes of XHTML files in many cases).
> In other case, if the EL is properly closed and has an whitespaced body the ELExpression can be found at any position.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list