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 104714

Summary: A text is marked as a syntax error
Product: web Reporter: Petr Pisl <ppisl>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 106378, 109260    
Bug Blocks:    

Description Petr Pisl 2007-05-24 10:34:42 UTC
I have simple html page, which is valid:
<html>
    <head>
    </head>
<body>
    <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
        
    </script>
</body>
<html>

The close tag </script> is underline and the tooltip says Syntax error. The
formating doesn't work as well.
Comment 1 Marek Fukala 2007-06-19 12:01:30 UTC
the formatting is filled as a separate issue #102058, the </script> tag being underlined is P3 IMO. The problem depends
partially on issue #87014
Comment 2 Marek Fukala 2007-07-04 14:09:47 UTC
Not critical issue, lowering to P3. Petre, increase it back if you really think this is a P2.
Comment 3 Marek Fukala 2007-07-04 14:10:05 UTC
Not critical issue, lowering to P3. Petre, increase it back if you really think this is a P2.
Comment 4 Petr Pisl 2007-07-10 11:38:38 UTC
From user point of view is very strange that the editor mark a part of the code as wrong code and the code is correct. I
don't want to release with this bug. I can live with P3, but I wan to be sure that it will be fixed in FCS build.
Comment 5 Marek Fukala 2007-07-10 15:50:05 UTC
The listed error usecase is caused by P3 issue #106378 and the fact that the </script> endtag is undelined instead of
the content of the script tag is covered by P2 issue #109260 (I have created a patch for that and now it is up to Hanz
to apply or refuse it).
Comment 6 Marek Fukala 2007-10-12 19:10:54 UTC
already fixed, at least I cannot see the problem on the example now.