[jdom-interest] beta5 comments

Jason Hunter jhunter at collab.net
Fri Sep 29 12:09:55 PDT 2000


> Yes, I mean the whitespace issue.
> 
> I need to use XMLOutputter as a pretty-printer, and the patched
> XMLOutputter should do the trick.  (Currently I have to keep track of
> whether the document already contains indentation and new lines -- or
> not.)

Cool, please if you could, add the patch and let us know if it works. 
Alex says he didn't do real testing, so we're waiting a little on
integration until someone gives it a run-through (I'm booked --
literally, with writing my book).

> Q: Wouldn't it be preferable in some cases to also enhance the builder
> side to optionally remove whitespace?

Yep.  It's in the TODO.  XML purists are going to scream.

-jh-



More information about the jdom-interest mailing list