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 137768

Summary: xml formatting
Product: xml Reporter: Samaresh Panda <samaresh>
Component: Text-EditAssignee: Sonali Kochar <sonali>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 122501, 131223, 132586, 135107, 135297, 135478    

Description Samaresh Panda 2008-06-19 19:29:33 UTC
In 6.1, old xml formatter was deprecated and we rewrote a lexer based formatter. By doing so we introduced few new
issues. The lack of unit tests makes the job of fixing these issues a bit difficult.

Here are a list of issues that we should try to address in 6.5:
http://www.netbeans.org/issues/show_bug.cgi?id=132586
http://www.netbeans.org/issues/show_bug.cgi?id=135478

http://www.netbeans.org/issues/show_bug.cgi?id=122501
http://www.netbeans.org/issues/show_bug.cgi?id=131223
http://www.netbeans.org/issues/show_bug.cgi?id=135107
Comment 1 Samaresh Panda 2008-06-19 19:37:53 UTC
As a first step, lets add a unit test framework, so that each use-case can be taken care of.
Comment 2 Samaresh Panda 2008-06-19 21:58:39 UTC
Added unit test support for formatting: http://hg.netbeans.org/main/rev/cb5a0c2f4013.
Comment 3 Samaresh Panda 2008-06-20 18:32:57 UTC
One more on formatting, see issue 135297.
Comment 4 Sonali Kochar 2008-06-27 19:51:04 UTC
one more
http://www.netbeans.org/issues/show_bug.cgi?id=115740