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 - xml formatting
Summary: xml formatting
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords:
Depends on:
Blocks: 122501 131223 132586 135107 135297 135478
  Show dependency tree
 
Reported: 2008-06-19 19:29 UTC by Samaresh Panda
Modified: 2008-06-27 19:51 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-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