[jdom-interest] Content as a Text Node (was JDOM JSR)
bob at werken.com
Fri May 18 12:49:43 PDT 2001
> I have no fundamental objections to this approach. It's something we
> considered when Bob was looking for parentage for XPath, but we didn't
> pursue it because he found alternate approaches.
Yah, found alternate approaches, but this would still be my
> It's probably worth it tho for the reasons stated earlier. And we'll
> get some goodness with CDATA being able to be a Text subclass. (I think
> it's probably better to keep a CDATA class rather than have a flag on
> Other thoughts?
I'd actually like CDATA to be a flag on Text. This isn't related
to XPath at all, just a personal preference. I'd like to be able
to possibly walk a document, and turn certain elements into CDATA,
and turn other elements from CDATA to normal escaped-entity elements.
Not having to construct/replace would make that simpler.
But, this isn't too much of a concern really.
More information about the jdom-interest