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 135107

Summary: XML formatting error
Product: xml Reporter: albert_kurucz <albert_kurucz>
Component: Text-EditAssignee: Samaresh Panda <samaresh>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 137768    
Bug Blocks:    

Description albert_kurucz 2008-05-15 05:00:42 UTC
Sample XML:

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <property name="AVERAGE">1</property>
</root>


After Alt+Shift+F format:

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <property name="AVERAGE">1
    </property>
</root>

Expected result: no change! (Such as 6.0.1 did)
Result causes errors when property value is parsed without trimming.

(if attribute is not present, then the result after formatting is OK).
Comment 1 albert_kurucz 2008-05-23 10:04:33 UTC
problem identical to issue: 135217
Comment 2 albert_kurucz 2008-05-27 14:43:19 UTC
not identical, but close to the issue: 135217
Comment 3 Sonali Kochar 2008-07-03 16:38:33 UTC
Fixed
changeset 4fceae5a4b46 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=4fceae5a4b46