Bug: XML module read write
The XML module indents the XML when writing to a file in order for it to be nicely readable. However, when reading back, the tabs and new-line that were inserted are seen as PCData.
If the XML is modified to be written again, the PCData of a node which only had children nodes, is filled and written with tabs and new-line feeds, creating gaps in the newly written XML.
Tabs and new-line feeds should not be seen as PCData.