[jdom-interest] Bug

ChristianNUESA "Chun" cnuesa at ep-services.com
Thu Jan 4 14:05:14 PST 2001


Hello,

Given this example (please notice the begining tag -- in bold);

<?xml version="1.0" encoding="UTF-8"?>
<test>
    <CostItem> 
        </AcctNum>
        </AcctDesc>
    </CostItem>
</test>

If I would read that xml and put some data in it using JDOM and use the JDOM's outputer object, ther result would this;

<?xml version="1.0" encoding="UTF-8"?><test>
    <CostItem> 
        <AcctNum>test</AcctNum>
        <AcctDesc>test</AcctDesc>
    </CostItem>
</test>

The indent of <test> suddenly is out of place. Has someone fix this already?


christian NUESA
Software Manager, R&D Group
Entertainment Partner
(818) 955-6241
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010104/5940b648/attachment.htm


More information about the jdom-interest mailing list