Re: Possible bug in XML::SAX causing new_from_xml() to croak

[email protected] (Joshua Ferraro)
Newsgroups perl.perl4lib
Organization LibLime Library Solutions
Message-ID <[email protected]>
Hi all,

Right ... I was using the PurePerl parser. As soon as I installed
XML::SAX::Expat the combining characters problem went away.

Thanks!

--
Joshua Ferraro               VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE
President, Technology       migration, training, maintenance, support
LibLime                                Featuring Koha Open-Source ILS
[email protected] |Full Demos at http://liblime.com/koha |1(888)KohaILS

On Fri, May 19, 2006 at 09:57:34PM -0500, Edward Summers wrote:
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.