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 - XML formatting error
Summary: XML formatting error
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on: 137768
Blocks:
  Show dependency tree
 
Reported: 2008-05-15 05:00 UTC by albert_kurucz
Modified: 2008-07-03 16:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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