lakshminair
asked on
XML Parser issue
Hi All,
Couldn't open encmap shift-jis.enc:
No such file or directory at /mnt/ims/perl/5.8.0/lib/si te_perl/5. 8.0/PA-RIS C2.0-threa d-multi-LP 64/XML/Par ser.pm line 180
The error mentioned above occurs rarely. It doesnt seem to be happening under all cases.
Any ideas as why and when this error occurs?
Thanks in advance,
Lakshmi
Couldn't open encmap shift-jis.enc:
No such file or directory at /mnt/ims/perl/5.8.0/lib/si
The error mentioned above occurs rarely. It doesnt seem to be happening under all cases.
Any ideas as why and when this error occurs?
Thanks in advance,
Lakshmi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, that's what would cause the module to go looking for the shift-jis encoding map.
ASKER
<?xml version='1.0' encoding='UTF-8'?> - XML::Parser works fine.
But in some cases, the format is
<?xml version='1.0' encoding='shift-jis'?>
now it fails.
when parser sees the encoding tag, does it try to check for some enc file???
is that why it is checking for shift-jis.enc file and not finding it.
lakshmi