Community
Participate
Working Groups
-- Configuration Details -- Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.platform 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK When formatting an ant file that contains a CDATA section with XML-style tags, the formatter over outdents subsequent nodes. Sample build.xml (before formatting [and formatted as it *should* appear after formatting): ------------------ @ <?xml version="1.0" encoding="UTF-8"?> <project name="myproject"> <target name="main"> <echo> <![CDATA[<tag>Some Nested XML</tag>]]> </echo> <echo>I should be parallel with the other echo tag above</echo> </target> </project> @ ------------------ File *after* formatting: ------------------ @ <?xml version="1.0" encoding="UTF-8"?> <project name="myproject"> <target name="main"> <echo> <![CDATA[<tag>Some Nested XML</tag>]]> </echo> <echo>I should be parallel with the other echo tag above</echo> </target> </project> @ ------------------ Notice the second echo tag is outdented one level more than it should be, as is the rest of the document.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.