users@jaxb.java.net

Re: question about UTF-8 characters

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM>
Date: Wed, 20 Aug 2003 16:51:15 -0400

Geis, Matt wrote:

> Hi,
>
> I’m running into a problem with JAXB. I have an XML document which
> contains the character Æ. More accurately, I have a document which
> contains the character entity reference &#x00C6;, which dereferences to
> Æ. When I unmarshall the document into a JAXB object, I can call the
> getter for the given property, and it correctly displays Æ.
>
> [...snip...]
>
> What do I need to do here? Is this a bug? If not, how to I correctly
> marshall the data?
>
>

Have you investigated the character escape handler feature[1] in JAXB 1.0.1?
It's a Sun RI specific feature, but it might solve your problem...

--Ryan

[1] http://java.sun.com/webservices/docs/1.2/jaxb/vendorProperties.html



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net