[jdom-interest] The CHANGE has BEGUN!

James Todd jwtodd at pacbell.net
Fri Jul 28 13:49:41 PDT 2000

re: preserve space

when cutting over to jdom i had to nuke our pre-existing
xml:space="preserve" attributes. i was ok doing this as
it appeared that embedded spaces were preserved yet
pre and post content white-space were trimmed ... which
is ok in my env.

is there an intended api whereby content white-space is
preserved? i surely hope so.

i'll pull down the latest and peruse it time permitting.

thx much,

- james

James Duncan Davidson wrote:

> on 7/27/00 1:47 AM, Jason Hunter at jhunter at acm.org wrote:
> > I also changed getTextTrim() to normalize internal whitespace, as
> > Patrick Dowler suggested.  That means all whitespace content will become
> > a single space, a la HTML.  Let me know if you like this behavior.  I
> > thought it could be useful with mixed content
> Cool. Since you are already doing something that "destroys" the tree, and
> most likely if I ask for something this way, I'm just passing it on,
> reflowing it anyway to display, or using a tokenizer to parse through it,
> I'm fine with this.
> .duncan
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list