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
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@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@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/
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@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@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@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/
Here we go
http://www.nntp.perl.org/group/perl.perl4lib/2006/05/msg2369.html
From this email, as I understand it, it seems that here is the reason why Koha in search result deserialize MARC records from their ISO2709 representation rather than their MARCXML. If we were able to use marcxml, the 99,999 limitation for MARC record size could be exceed. And we would have one less reason to move to SolR--notwithstanding the other reasons to move to. -- Frédéric
Clay Fouts writes
Expat is considerably faster than the LibXML implementation,
What is your source for this information? A quick Google search seems to suggest that Expat is a bit faster, but not much. Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorclaim.org/profile/pkr1 skype: thomaskrichel
I am gleaning that from personal testing. That test script is very system-dependent, unfortunately, so not meaningfully distributed. But to clarify a bit, I tested with the ExpatXS module and using the M::R::new_from_xml() method. Creating the new object from an XML record with 1,000 embedded 952 tags took half the amount of time in ExpatXS as compared to LibXML::Parser. Clay On Thu, Nov 11, 2010 at 4:17 PM, Thomas Krichel <krichel@openlib.org> wrote:
Clay Fouts writes
Expat is considerably faster than the LibXML implementation,
What is your source for this information? A quick Google search seems to suggest that Expat is a bit faster, but not much.
Cheers,
Thomas Krichel http://openlib.org/home/krichel http://authorclaim.org/profile/pkr1 skype: thomaskrichel
participants (4)
-
Chris Cormack -
Clay Fouts -
Frédéric Demians -
Thomas Krichel