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

Summary: Migrate XML Syntax support to use Lexer.
Product: xml Reporter: Samaresh Panda <samaresh>
Component: Text-EditAssignee: Samaresh Panda <samaresh>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 157158    
Bug Blocks: 124591, 124592, 124593    

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?