[Koha-devel] XML processing

Clay Fouts cfouts at liblime.com
Fri Nov 12 01:05:09 CET 2010


Here's a script that tests for Josh's described bug in Expat:
http://treebeard.liblime.com/ctf/expat-marc-test.pl

It passes my testing, but his description of the failure case is only
vaguely described as "sometimes causes the entire record to be destroyed."

Anyone come up with a failure case?

Clay


On Thu, Nov 11, 2010 at 3:03 PM, Chris Cormack <chris at bigballofwax.co.nz>wrote:

> Here we go
>
> http://www.nntp.perl.org/group/perl.perl4lib/2006/05/msg2369.html
>
> You might even be able to find those files somewhere on your servers :-)
>
> Chris
>
> 2010/11/12 Clay Fouts <cfouts at liblime.com>:
> > Hi, all.
> > Can anyone point me to documentation about why Expat is considered
> > incompatible with Koha (and I'm assuming MARC::File::XML). I know there
> are
> > dire warnings against such, but what are the test cases where it fails?
> > Expat is considerably faster than the LibXML implementation, and it would
> be
> > a shame if we were continuing to avoid using it without due cause. I've
> been
> > unable to detect issues with it in my anecdotal test cases thus far.
> > Thank you,
> > Clay
> >
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel at lists.koha-community.org
> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20101111/af4c00e9/attachment-0001.htm>


More information about the Koha-devel mailing list