Skip Menu |

This queue is for tickets about the MARC-XML CPAN distribution.

Report information
The Basics
Id: 67089
Status: resolved
Priority: 0/
Queue: MARC-XML

People
Owner: GMCHARLT [...] cpan.org
Requestors: john.yobb [...] usask.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.93
Fixed in: (no value)



Subject: Problems Building Module on Redhat el5
I am trying to build the marc::xml module on Redhat el5. I have installed from the distribution: perl-Unicode-Normalize perl-Class-Accessor perl-MARC-Record perl-XML-SAX And from the download site http://www.cpan.org/modules/by-module/MARC/ MARC-XML MARC-Charset MARC All of these build fine except MARC-XML which build but fails 2 test. Any help you can give me in getting this to work would be greatly appreciated. Do you require more information? If so let me know. # Failed test 'read subfield $< parsed from MARCXML' # in t/escape.t at line 43. t/escape............NOK 13# got: undef # expected: 'France' # Failed test 'record with subfield $< the same parsed from ISO2709 or MARCXML' # in t/escape.t at line 44. t/escape............NOK 14# Structures begin differing at: # $got->{_fields}[10]{_subfields}[2] = '<' # $expected->{_fields}[10]{_subfields}[2] = '&lt;' # Looks like you failed 2 tests of 14. t/escape............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 13-14 Failed 2/14 tests, 85.71% okay
At a first guess, you would have needed to update ParserDetails.ini so that XML::Sax::PurePerl isn't the SAX module chosen. However, I'm marking this resolved as of MARC::File::XML 1.0, which replaces the SAX parser dependency with XML::LibXML.