Try UTF-8 vs. UTF8 (in double quotes). 

-----Original Message-----
From: vivek agarwal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 23, 2005 8:14 AM
To: [EMAIL PROTECTED]
Subject: IANA or Java

Hi,

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" ?>

and it gave no errors, but Xerces clearly says, it is an invalid
encoding?

Thanks,
Vivek.

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


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

Reply via email to