I think I got it (at least it works now for me). I used readers and
writers in my project. Now I switched to streams for testing - and it
works ?!?
After this strange experience I wrote a very slim sample program. It
first uses java.io.FileReader and java.io.FileWriter to read/write the
data and then - in a second run - uses java.io.FileInputStream and
java.io.FileOutputStream to do the same job. The input files are
in.xml and style.xsl, the output files are out1.xml (for
reader/writer) and out2.xml (for streams). It's all documented in the
source.
On my computer out1.xml has the error with the '�' char within a UTF-8
doc (which is not possible for UTF-8), out2.xml works out ok.

Q: Can you reproduce this problem on your machine? If so, I'll submit
a bug report.

Regards.

--
Bjoern Martin                                [EMAIL PROTECTED]

Attachment: style.xsl
Description: Binary data

<?xml version="1.0" encoding="iso-8859-1" ?>
<root>
<book><deutsch>IDE 403 Verst�rker</deutsch></book>
</root>

Attachment: ReaderVsStream.class
Description: Binary data

Attachment: ReaderVsStream.java
Description: Binary data

Reply via email to