[jdom-interest] Bug

James Davies J.Davies at jacobus.co.uk
Fri Jan 5 02:32:07 PST 2001


Hi Chun,

Hmm - where do your AcctNum and AcctDesc start?

    Regards,

    Jim

  ----- Original Message ----- 
  From: ChristianNUESA "Chun" 
  To: jdom-interest at jdom.org 
  Sent: Thursday, January 04, 2001 10:05 PM
  Subject: [jdom-interest] Bug


  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/20010105/1a9a5d51/attachment.htm


More information about the jdom-interest mailing list