users@jaxb.java.net

Re: How do I get the CDATA data ?

From: J. Medina <jmedina_at_on.com>
Date: Wed, 02 Apr 2003 10:29:56 +0200

Is this the appropiate list to make suggestions on JAXB ?


Since all text and CDATA nodes are being put together into a single
element of the list returned by getContent() , Why not provide a setText()
/ getText() method on those classed that handle mixed content ?

Or at least, provide a marker interface MixedContent for those classes with
the getContent() method. This would help to implement a generic class to
set, get the text on those elements.