String Larson wrote:

>   return baos.toString();

What character encoding does the machine have? Is ISO-8859-1 the default
locale? Otherwise, you would most possibly need a toString("ISO-8859-1")
here.

Besides, does the generated string contain an XML declaration with
encoding='ISO-8859-1'?

If not, try to create a small example program, which demonstrates the
problem. Besides, is there any reason for using a ByteArrayOutputStream
as the transformer target? As you are going to create a string anyways,
that's an unnecessary performance loss, compared to a StringWriter.

And, finally, if you are transferring DOM documents, you might take a
look at the b20050512_streaming branch, which supports DOM nodes as
request parameters and results.

Jochen

Reply via email to