[jdom-interest] SAXBuilder with regards to the textcontent

Kesav Kumar kesavk at voquette.com
Fri Dec 8 17:49:23 PST 2000

I wrote this earlier.  I actually modified the SAXBuilder code locally for
my purpose.  I am very much intersted in having flag in Builder and to get
rid of the unnecessary blank strings which I guess saves some memory.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:kesavk at voquette.com

-----Original Message-----
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: Thursday, December 07, 2000 6:15 PM
To: Kesav Kumar
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] SAXBuilder with regards to the textcontent

(Digging through old email.)

> When an element has any text content JDOM behaves very strangly the
> mixedcontent gives lots of blank strings and its really difficult to
> find out what is the index of the text content.  Why don't we get 
> rid of the blanstrings insertion into the mixedcontent?  

Because it's required by the XML spec.  I am though in favor of a flag
on builders that would let you strip whitespace.


More information about the jdom-interest mailing list