StopSpam wrote:
> Dear all,
>
> I'd like to be able to access xml comments, CDATA sections, Entities and
> DTDs through
> dom binding (<xjc:dom>).
The portion that matches to <xjc:dom> won't preserve neither comments,
CDATA sections, nor entity references.
You might be able to do a similar thing by first parsing it to DOM, then
unmarshalling it to JAXB, and accessing the original DOM, not the DOM
portion of the JAXB tree.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com