An error at the end of the XMLDecl usually means that your transcoding
service recognized the encoding, however, it does not think that your
document is really in that encoding. I know that there is a good bit of
looseness about how the EBCDIC encoding names are used, so you need to make
sure that your file is really in that encoding strictly.
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Wuebben, Anthony E. (LNG) [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 7:51 AM
To: '[EMAIL PROTECTED]'
Subject: Encoding question
Sorry if this is a repost, but I can't get to the archive mail list.
I am using XERCES 1.4 on Solaris 7. I can read and validate documents when
the xml declaration is:
<?xml version="1.0" encoding="utf-8"?>
and the file is in ascii. My problem is now I am try to process ebcdic files
with the xml declaration set to:
<?xml version="1.0" encoding="ebcdic-cp-us"?>
the parser throws an exception "line:[1] column:[46]message:[Invalid
document structure]". Is there something I need to set during the build
process or code that allows ebcdic encoding to occur?
Thanks
Tony Wuebben
---------------------------------------------------------------------
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]