Tracker: Plugin Bugs

5 Indenting of XML (applies to both XML indenter & XML plugin - ID: 2888653
Last Update: Tracker Item Submitted ( david-bo )

When indenting an XML like string like this

<?xml version="1.0"?><a> <b/> </a><?xml version="1.0"?><a> <b/> </a>

(that is, string with two XML messages in the same file) the result looks
like this:

<?xml version="1.0"?>
<a>
<b/>
</a><?xml version="1.0"?>
<a>
<b/>
</a>

I think it should look more like this

<?xml version="1.0"?>
<a>
<b/>
</a>
<?xml version="1.0"?>
<a>
<b/>
</a>

or even maybe like this:

<?xml version="1.0"?>
<a>
<b/>
</a>

<?xml version="1.0"?>
<a>
<b/>
</a>

(note the empty line before the XML-declaration, could even use a long
comment such as <!------------------------------------> for separating the
two XMLs)


david bonde ( david-bo ) - 2009-10-29 08:58

5

Open

None

Nobody/Anonymous

None

None

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.