[jdom-interest] Re: SAXBuilder enhancement request /2

Joseph Bowbeer jozart at csi.com
Sat Mar 30 02:05:59 PST 2002

Btw, a whitespace stripping filter is here:


As the javadoc says:

* This filter removes leading and trailing whitespace from field-oriented
* XML without mixed content. Note that this class will likely not yield
* appropriate results for document-oriented XML like XHTML pages
* which mix character data and elements together.

----- Original Message ----- >

[...] It could also be done using a filter, as ERH suggests, though this
might be a little more complicated - for stripping trailing whitespace you'd
need to make sure you have the entire character data sequence available,
rather than just a portion. [...]

More information about the jdom-interest mailing list