I've tried this with the latest version of XML::Simple
and still the same error..
--- Martin Moss <[EMAIL PROTECTED]> wrote:
> All,
>
> Since an upgrade of perl, some legacy code which
> uses
> XML::Simple has broken.
>
> This replicates the problem...
>
> my $xml=' <?xml version="1.0" encoding="ISO-8859-1"
> ?><CWNFS><CWSTORY><CWSEDOL/></CWSTORY></CWNFS>';
> my $contents = eval {XMLin($xml)};
>
> $xml is not utf8 encoded (Checked with
> Encode::is_utf8) and when I run I get this error:-
>
> no element found at line 1, column 0, byte -1 at
>
/opt/apps/rte-1.0.7/perl/perl-5.8.6/lib/site_perl/5.8.6/sun4-solaris/XML/Parser.pm
> line 186
>
> I haven't used XML::Simple in years, any ideas what
> could have caused this? I believe we're running
> XML::Parser version is 2.30
> XML::Simple version is 1.05
>
> Regards
>
> Marty
>
>
>
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> _______________________________________________
> Perl-Unix-Users mailing list
> [email protected]
> To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
Perl-Unix-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs