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.
Summary: | Missing for -- comments in DTD | ||
---|---|---|---|
Product: | xml | Reporter: | _ pcw <pcw> |
Component: | Code | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
example file to reproduce issue.
snapshot of this file inside IDE showing broken highlighting |
Description
_ pcw
2008-09-08 23:43:40 UTC
Created attachment 69359 [details]
example file to reproduce issue.
Created attachment 69360 [details]
snapshot of this file inside IDE showing broken highlighting
Visible bug. I'm not an expert in highlighting, but I'll try to fix it for 6.5. The DTD highlighter does not recognize '--' comments at all. See http://www.w3.org/TR/WD-html40-970917/intro/sgmltut.html#h-3.2.2 for a definition. I do not want to touch the 8 years unmaintained javacc-based grammar for DTD; rather a new lexer based on lexer APIs should be provided. Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1. |