Ticket #23 (new enhancement)

Opened 1 year ago

Last modified 10 months ago

"Pretty" leaves adds a whole tonne of whitespace to CData in elements

Reported by: Nietsnie Assigned to:
Priority: minor Milestone:
Component: mango.xml.dom Version:
Keywords: Cc:

Description

Basically pretty writes out CDATA elements like this:

<thing>
    <element>
          THIS IS CDATA
    </element>
</thing>

It would be preferable to have it like this:

<thing>
    <element>  THIS IS CDATA</element>
</thing>

so that you are able to see that there was whitespace as CDATA. Not having "pretty" enabled works fine, of course.

I've attached a patch that adds this functionality.

Attachments

teqXML.d.patch (1.1 kB) - added by Nietsnie on 09/07/07 17:14:17.

Change History

09/07/07 17:14:17 changed by Nietsnie

  • attachment teqXML.d.patch added.

11/05/07 17:10:21 changed by Nietsnie

Any update on this (positive or otherwise?)

I just re-applied it again to our copy of mango :/