Re: Handling funny characters in XML with XML::Simple XMLin()
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Mark Knoop schrieb: > [...] contain a non ascii character which breaks XMLin(). [...] I > would really like to ignore this character so I can process the rest > of the information > <?xml version="1.0" encoding="UTF-8"?> > The error I get is > > not well-formed (invalid token) at line 3, column 219, byte 277 at > C:/Perl/lib/XML/Parser.pm line 187 Your XML is not well-formed. It says it is encoded in UTF-8, but it isn't. So your XML is broken and needs to be fixed. This can be proven using any conforming XML parser. It has to be fixed at the source. Stated and actual encoding have to match. > Is there a way I can just get XMLin to ignore or handle the character Hopefully not! Michael Ludwig _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs