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 19604

Summary: use single tag when possible
Product: xml Reporter: _ jrichard <jrichard>
Component: Tree-EditAssignee: issues@xml <issues>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ jrichard 2002-01-19 01:13:37 UTC
When I edit something via the XML tree editor, nodes that were like this:
   <button name="My Button Name" />
turn into:
   <button name="My Button Name"></button>

While this is technically correct, it really irritates the people
who use simple editors (vi, wordpad) to edit XML since it makes the
whole thing more wordy.

It would be nice if the <button></button> case could be collapsed
into <button/> by the tree editor.
Comment 1 _ pkuzel 2002-06-03 12:27:05 UTC
Let these are considered while planning next release.
Comment 2 Marek Grummich 2002-07-19 16:55:10 UTC
Target milestone was changed from not determined to TBD
Comment 3 _ lkramolis 2002-10-01 10:35:23 UTC
*** Issue 20959 has been marked as a duplicate of this issue. ***
Comment 4 zikmund 2005-05-04 15:19:42 UTC
XML tree editor is not part of NetBeans since 3.5 version. No plans to bring it
back.
Comment 5 Mikhail Matveev 2007-11-30 15:18:20 UTC
Verified - fixed long time ago