[jdom-interest] CDATA support

Brett McLaughlin brett.mclaughlin at lutris.com
Tue Sep 5 12:28:24 PDT 2000


All-

  Thanks to the great work of Dan Schaffer, and gentle and not so gentle
reminders from him and Kevin Regan over the months, JDOM now has full
support for CDATA. Yup, it's in there, and will be part of Beta 5. Check
out CVS. It involved adding a new class, org.jdom.CDATA, as well as
changes to DOMBuilder, SAXBuilder, XMLOutputter, and DOMOutputter. So it
works for DOM structures as well as the normal means of handling JDOM.

There is a sample in samples/ called cdata.xml - run 

build clean
build
build samples

and then you can run SAXBuilderDemo on samples/cdata.xml and see the
CDATA section work.

Very cool - kudos to Dan for keeping this going, and making mods when I
changed CVS all over this weekend ;-)

Thanks,
Brett

-- 
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc. 
1200 Pacific Avenue, Suite 300 
Santa Cruz, CA 95060 USA 
http://www.lutris.com
http://www.enhydra.org



More information about the jdom-interest mailing list