Michiel Meeuwissen wrote:
Jaco de Groot <[EMAIL PROTECTED]> wrote:

Are you saying that the Reader should be passed directly to the XML parser?


No, an InputStream. A Reader is for chars. I just checked and XMLBasicReader
can accept an InputSource, which is even better. So I don't understand what
went wrong. Perhaps the files themselves?

In the new situation I indeed use InputStream. What went wrong is that in the old situation Reader was used. And if your file.encoding property is set to ASCII this Reader will only output ASCII chars (all other chars are replaced with a question mark I believe). There is now way the xml parser can restore this.


Jaco




Reply via email to