users@jaxb.java.net

Unmarshalling XML with a doctype

From: Glenn Kidd <glennkidd_at_mail.com>
Date: Fri, 16 May 2003 12:38:29 -0600

I am trying to unmarshall an XML document that has a doctype specified but JAXB does not seem to like it. If I remove the doctype declaration it works fine. The problem is that the application I am writing is a replacement for a pre-existing one and the incoming XML documents it handles all have the doctype declaration. Is there a way to get JAXB to ignore the doctype declaration? Thanks in advance.


Glenn