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.

Bug 231719 - Error parsing file
Summary: Error parsing file
Status: RESOLVED DUPLICATE of bug 226207
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 12:37 UTC by snaketl
Modified: 2013-07-03 19:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error parsing file (72.93 KB, image/png)
2013-06-24 12:37 UTC, snaketl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description snaketl 2013-06-24 12:37:28 UTC
Created attachment 136220 [details]
Error parsing file

When i use taglib and javascript, netbeans mark error. 

I reproduce the problem since version 7.3, including build 201306232301.

Code sample:

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        
        <script type="text/javascript">            
            <c:if test="${action == 'varTest'}">
                alert("test");
            </c:if>            
        </script>
        
    </body>
</html>
Comment 1 Vladimir Riha 2013-06-24 12:44:21 UTC
Thank you for reporting

*** This bug has been marked as a duplicate of bug 226207 ***
Comment 2 ecerichter 2013-07-03 19:21:04 UTC
Can't you use

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>

        <script type="text/javascript">            
//            <c:if test="${action == 'varTest'}">
                alert("test");
//            </c:if>            
        </script>

    </body>
</html>

It works for me!!!