This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
An error is shown for the following line (line number 266) in an XHTML file: <ice:inputText rendered="#{item.dataType == 'TEXT' && empty item.values}"/> with the complete value of "rendered" marked as erraneous. The message is "Encountered "&" at line 1, column 29. Was expecting one of: "}" ... "." ... "[" ... ">" ... "gt" ... "<" ... "lt" ... ">=" ....".
I have increased the priority and set the target milestone to 7.0 so that this issue gets (hopefully) fixed before 7.0 FCS. I did that because everybody who uses complex EL expressions in JSP or JSF pages will run into this issue.
Valid issue, the content of the expression needs to be resolved for character references before parsing.
fixed in web-main#2ee2f2648878 Vlado, please verify the fix thoroughly. The change is non-trivial and may possibly affect almost everyting related to expression language in facelet files. Please try some examples with the xml entity references in the expression and check completion, error checks, hyperlinking, refactoring, find usages etc... Naturally I've already test all of the above, but I will sleep much better if somebody else verifies the fix as well. Thanks in advance!
Of course, once it'll be in build, I'll try test it
Integrated into 'main-golden', will be available in build *201103240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2ee2f2648878 User: Marek Fukala <mfukala@netbeans.org> Log: #193228 - [70cat] Wrong error highlighting for EL condition in attribute
So I did some testing, I tried everything that is in TS and a everything that I was able to come up with xml entities. This error seems to be solved, however I have encountered 2 others, not sure how much they are connected. When I tried to Refactor|Rename java managed bean, an error was thrown, the bug is here #197059 I wasn't able to reproduce it. The second one is that code folding is missing in html files, jsf pages (.xhtml) and php pages but not in jsp pages. In jsp folding is working. I'll report it as a new bug.
folding issue is here: issue #197061
changeset: 195071:fb9bea27d70c branch: release70 user: Marek Fukala <mfukala@netbeans.org> date: Wed Mar 23 15:44:33 2011 +0100 summary: #193228 - [70cat] Wrong error highlighting for EL condition in attribute