[jdom-interest] Important proposal: Element/Document changes

Jason Hunter jhunter at collab.net
Tue Jul 25 10:03:29 PDT 2000


> What is the behavior if you call getText() on an element that contains mixed
> content? Does the method simply return the first text child it finds? I.e.
> if you have
> 
> <element>
>    This contains <b>mixed</b> content
> </element>
> 
> What would I get if I called getText() on this element?

The proposed behavior would match getContent() and return 
"This contains  content".

-jh-



More information about the jdom-interest mailing list