Try with hyphen, like
<?xml version="1.0" encoding="UTF-8"?>

Barry Nobel
55 Water: 212-438-4794
Home:      516-570-2154
Cell:         516-318-2740


-----Original Message-----
From: vivek agarwal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 10: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] 
 
--------------------------------------------------------

The information contained in this message is intended only for the recipient, 
and may be a confidential attorney-client communication or may otherwise be 
privileged and confidential and protected from disclosure. If the reader of 
this message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer.

--------------------------------------------------------

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

Reply via email to