users@jaxb.java.net

Re: AW: Re: Encoding Problem With Marshaller?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 27 Oct 2004 12:13:54 -0700

Nick Pellow wrote:
> Did you find a more elegant means to do this other than:
>
> unmarshaller.unmarshal(
> new StreamSource( new StringReader( xmlString )));

Good point. I think it's a strange omission that Unmarshaller doesn't
have a version that takes java.io.Reader (given that the Marshaller has
one that takes java.io.Writer)

I'll file an RFE to the spec.


-- 
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