[jdom-interest] CDATA class inconsistencies

Alex Rosen arosen at silverstream.com
Sat Feb 16 19:24:05 PST 2002


> 2. Shouldn't CDATA be a subclass of Text? The JDOM methods are almost
> all the same. I can imagine many aplications not caring about the
> difference.

I agree - or just have one Text class, with a switch to tell XMLOutputter
whether to output it as a CDATA section or a plain text node.

Alex




More information about the jdom-interest mailing list