[jdom-interest] XML file corrupted by XMLOutputer

Pierre-Yves Saumont pys at volga.fr
Mon Mar 19 13:12:46 PST 2001

Removing child element from an element using removeContent(Element e) and
then writing back to the xml file sometimes produces garbage at the end of
the file for example :

<?xml version="1.0" encoding="ISO-8859-1"?>

            <texte>message 6</texte>

Version is Beta 6, used in a servlet, with J2SDK 1.3 and Tomcat 3.1 under
Any idea about what can be going wrong ?

Pierre-Yves Saumont
Volga Diffusion
pys at volga.fr

More information about the jdom-interest mailing list