-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Ed,
yes, it works as expected ! I've just tried again with my marc.xml (as
attached) and seems to be encoding problems. Maybe Aleph don't export in
UTF-8 ?
Thanks for your help,
Michele
Ed Summers ha scritto:
Hi Michele:
I copied and pasted
Hi Michele:
Yes, I see a UTF-8 encoding error in that file when I try to check it
with xmllint (from the libxml2 package):
e...@curry:~/Downloads$ xmllint marc.xml
marc.xml:1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE0 0x20 0x3A 0x3C
ld code=ble infrastrutture, l'
my $file = MARC::Record-new_from_xml($marc-serialize(),UTF-8,MARC21);
$epdata = $plugin-EPrints::Plugin::Import::MARC::convert_input(
$file );
and here come troubles: only few metadatas will be interpreted
correctly, losing a lot of datas.
Ummm, so what metdata makes it through? I
Hi Michele:
I copied and pasted the XML from your email and ran it through a
simple test script (both attached) and the record seemed to be parsed
ok. What do you see if you run the attached test.pl?
//Ed
test.pl
Description: Binary data
marc:record xmlns:marc=http://www.loc.gov/MARC21/slim;