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

philip.nelson at omniresources.com philip.nelson at omniresources.com
Sat Mar 30 08:17:04 PST 2002


> White space trimming from elements that contain non-white space data 
> seems even more dangerous to me than removing white-space only nodes. 
> Plus there's less of a use-case for it. It's not like it's all that 
> hard to call String.trim(). I propose that JDOM *not* include any 
> trimming functionality.

Yup.  We already had this discussion and determined that trimming whitespace
was too easy to do without cluttering the api.  Again that mythical helper
class in jdom-contrib if anybody really wants to...



More information about the jdom-interest mailing list