Stefan writes: > <?xml version="1.0" encoding="UTF-16" standalone="no" ?>
Is your document entity really encoded in UTF-16 ? When using a Reader the encoding would not matter since it can only provide UTF-16 characters, but an InputStream would need to have the encoding declaration set correctly. If it is not, then all sorts of errors, including the one you mention, will occur. -Glenn
