Hi,

I am trying to marshal a document whose content contains an embedded '£'
symbol. The document is
marshalled using UTF-8 encoding and I would have expected the '£' to have
been rendered as
a valid Xml artifact (escaped). However, editing the source document
confirms that the '£' is written
literally. When I try to unmarshal the same document I get the following
message:

Caused by: javax.xml.bind.JAXBException: Parsing error. Invalid byte 1 of
1-byte UTF-8 sequence.

I must confess I don't really understand this message: does this mean JAxMe
is only expecting a
one-byte UTF-8 stream? I thought UTF-8 and therefore JAxMe could handle
multi-byte character encoding?
Do I have to write a specific XMLWriter to escape this (and other) symbols
or have I missed something fundamental?

Any help would begratefully received.

Regards



--------------------------------------------------------------------
Get your free email address at http://www.merseymail.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to