[jdom-interest] hasMixedContent()

Jason Hunter jhunter at acm.org
Tue May 15 16:17:10 PDT 2001


"Rosen, Alex" wrote:
> 
> The getMixedContent() method has always bothered me a little, 
> because it's a misnomer. 

Bothers me too.

> But then I noticed hasMixedContent(). I have a bigger problem with 
> this, because it can return true even when the element does not 
> have mixed content according to the XML spec 

Good point.

> Barring that, we could just get rid of hasMixedContent(), unless 
> anyone can come up with a reason why it's useful.

I could live with its removal.  Is that sufficient do you think?

-jh-



More information about the jdom-interest mailing list