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: | html tag matching doesn't work over separated html sections | ||
---|---|---|---|
Product: | javaee | Reporter: | Jindrich Sedek <jsedek> |
Component: | JSP | Assignee: | Marek Fukala <mfukala> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 95569, 121046 | ||
Bug Blocks: | |||
Attachments: |
wrong behaviour
right-on behaviour |
Description
Jindrich Sedek
2007-02-12 17:29:28 UTC
Created attachment 38390 [details]
wrong behaviour
Created attachment 38391 [details]
right-on behaviour
I doesn't work because I still wait for some functionality from lexer API. More specifically I need an elegant way how to skip 'empty blocks' when traversing html token sequence. Now, the html token sequence ends when the jsp token starts and there is not elegant way how to find next html piece. I can workaround if Mila doesn't implement in 6.0. I realized there is no issue for such request though Mila is aware of the need already - I have just filled new issue #95569 (Allow to go through separated token sequences). The problem is with the embedded html - the sections divided by JSP tokens (comments, directives, tags, EL ...) are not easy to join so the find matching block fails. Mila Metelka has recently upgraded the Lexer API so it is possible to traverse these separated token chanins, I'll try to use them to fix this issue. *** Issue 100653 has been marked as a duplicate of this issue. *** Problem still exists in build # 200705281800 Exists, and will be fixed in netbeans 6.0. This is not a cirical issue, please do not increase priority just because of you do want to address is asap. Thanks. Obsolete milestone, please reevaluate must be fixed in 6.0 *** Issue 123365 has been marked as a duplicate of this issue. *** the tag matching should be reimplemented to use GSF infrastructure and the html parser tree. fixed in revision c078fb70aed1 by reimplementing the html bracket matcher to be parser based. verified. NetBeans IDE Dev (Build 200803251204) |