[jdom-interest] XMLOutputter and newlines after declaration/d octype
Bradley S. Huffman
hip at a.cs.okstate.edu
Wed Dec 18 16:33:19 PST 2002
Norrman Per writes:
> Actually, your suggestion produces exactly the same output
> as
> XMLOutputter.output(document, out);
Damn, there is a write(lineseperator) in printDocType. That's a bug since
output(DocType,Write) should act like output(Text,Writer),
output(Comment,Writer), etc. in that it prints just the item and nothing
extra. That write really needs to be moved backed up to output(Document,Writer).
Brad
More information about the jdom-interest
mailing list