| Summary: | JavaScript errors for EL in JavaScript in JSP page | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Victor Homyakov <vkhomyackov> |
| Component: | Web | Assignee: | Project Inbox <jsdt.web-inbox> |
| Status: | NEW --- | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Build Identifier: 20110916-0149 Eclipse JavaScript Validator shows 3 errors and 1 warning for this JSP: <%@page contentType="text/html; charset=UTF-8"%> <script type="text/javascript">foo(${bar});</script> Errors and warning: Syntax error on token "}", ( expected Syntax error, insert ")" to complete Arguments Syntax error, insert "}" to complete Block Missing semicolon Eclipse: Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 1 Build id: 20110916-0149 Web Tools: wtp-M-3.3.2-20111026220513.zip downloaded from http://build.eclipse.org/webtools/committers/ Reproducible: Always Steps to Reproduce: 1. Create Web Project. 2. Create JSP: <%@page contentType="text/html; charset=UTF-8"%> <script type="text/javascript">foo(${bar});</script> 3. Validate it with Client-side JavaScript Validator Should be no JavaScript errors/warnings on EL expression.