vivek agarwal wrote:
In the XML declaration prolog, are Java encodings allowed as well? I
tried to parse an XML doc using JDK 1.5 with the following decl:
<?xml version="1.0" encoding="UTF8" ?>

You should always use IANA encoding names. If, however, you do not control the creation of the documents but they contain Java encoding names, the parser has a setting to allow this. Please review the Features page in the documentation for details.

--
Andy Clark * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to