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 154788 - Migrate XML Syntax support to use Lexer.
Summary: Migrate XML Syntax support to use Lexer.
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on: 157158
Blocks: 124591 124592 124593
  Show dependency tree
 
Reported: 2008-12-05 16:30 UTC by Samaresh Panda
Modified: 2011-11-20 08:39 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samaresh Panda 2008-12-05 16:30:23 UTC
Currently XML Syntax support uses editor's syntax support, which is deprecated. It is recommended that we migrate to
lexer sooner rather than later.
Comment 1 Quality Engineering 2008-12-22 15:21:52 UTC
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a5071c47f395
User: samaresh@netbeans.org
Log: #154788 Migrate XMLSyntaxSupport to use Lexer - Add unit tests to existing code.
Comment 2 tk_fhd_aui 2009-01-07 12:50:55 UTC
Where is the difference between issue 154788 (Migrate XML Syntax support to use Lexer) and issue 122438 (XML lexer
migration). Aren't they duplicates?
Comment 3 Samaresh Panda 2009-01-20 05:57:02 UTC
issue 122438 is an umbrella issue for lexer migration. See dependency in there.

Second integration: http://hg.netbeans.org/main/rev/306300cb308b. More coming...
Comment 4 Quality Engineering 2009-01-20 19:09:43 UTC
Integrated into 'main-golden', will be available in build *200901201401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/306300cb308b
User: samaresh@netbeans.org
Log: #154788 : Migrate xml syntax support to lexer.
Comment 5 Samaresh Panda 2009-01-20 21:59:31 UTC
More: http://hg.netbeans.org/main/rev/49762987907f.
Comment 6 Quality Engineering 2009-01-23 07:32:51 UTC
Integrated into 'main-golden', will be available in build *200901230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/49762987907f
User: samaresh@netbeans.org
Log: #154788 : Migrate xml syntax support to lexer: more changes...
Comment 7 maks_t34 2011-11-20 08:39:27 UTC
It is nice to see that there is a Lexer based inplementation of XMLSyntaxSupport in org.netbeans.modules.xml.text.dom package.

Currently I'm writing code completion plug-in for XWork Validation files and I wanted to use this implementation in my code. Unfortunately the package is module private.
  
* I wonder if new XMLSyntaxSupport is stable?
* In the case it is: could you make org.netbeans.modules.xml.text.dom package public so one can use it when developing plugins?