Re: Possible bug in XML::SAX causing new_from_xml() to croak
[email protected] (Edward Summers)
| Newsgroups | perl.perl4lib |
|---|---|
| Message-ID | <[email protected]> |
On May 19, 2006, at 7:59 PM, Joshua Ferraro wrote: > I've attached a small script that reproduces the same error we're > getting in the new_from_xml() method. Try it out and see what > it does for you. Works ok for me, at least it doesn't crash :-) > So ... Is there a workaround that we can use to fix the MARC::Record > suite so that it won't crash when dealing with records that have > combining characters ... shall I bug the maintainer? While harvesting OAI data in Perl I've routinely had the LibXML parser fail. Do you happen to know what underlying parser you are using? You can check by: use XML::SAX::ParserFactory; $parser = XML::SAX::ParserFactory->new(); print $parser; I've found XML::SAX::Expat to be much more reliable. //Ed