Lemmin, Harald wrote:
I found some pieces of encoding detection in the XMLEntityManager:
auto-detection from the first four bytes, creation of the reader.
But I could not find where the encoding name is read from the xml-header.
That code tries to auto-detect the encoding from the
first bytes in the file. The code to check the encoding
specified in the XMLDecl/TextDecl is in the scanner
classes. I think "XMLScanner" has what you're looking
for.
--
Andy Clark * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]