users@jaxb.java.net

Re: Processing Large XML Files

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 03 Nov 2003 07:22:26 -0800

> I've tried to build individual DOM documents from a SAX stream...and that
> works ok (using transformations), but then JAXB won't unmarshall it. It
> seems that it gets a nullpointerexception in the unmarshaller because the
> localName in startElement() is null.

You just have to do setNamespaceAware(true);

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net