[OAI-implementers] Error in Request:GetRecord

Jose Blanco blancoj@umich.edu
Fri, 17 Aug 2001 13:25:18 -0400


I'm having difficulty locating the Utility.pm file. Can you tell me from
what URL I can download it from.  Thanks.

----- Original Message -----
From: "Hussein Suleman" <hussein@vt.edu>
To: "NAVA M SANDRA EDITH" <sp205178@mail.udlap.mx>
Cc: <oai-implementers@oaisrv.nsdl.cornell.edu>
Sent: Friday, August 17, 2001 12:28 PM
Subject: Re: [OAI-implementers] Error in Request:GetRecord


> hi
>
> NAVA M SANDRA EDITH wrote:
> > now i have a problem with the GetRecord request, i try to use as
> > metadata format xml, and i have defined my xml.xsd, but when i checked
in
> > Repository Explorer i have an error:
>
> its a very common pitfall ... your XML is in UTF-8 but you have a
> Latin-1 entity in your author field ...
>
>   <author>Issa Paola V&aacute;zquez Guti&eacute;rrez</author>
>
> for maximum portability, it is recommended that you convert the Latin-1
> entities to Unicode (if you use Perl, as part of my Perl OAI-DP
> implementation available from the OAI website there is a Utility.pm
> module that addresses lots of XML issues, including this conversion)
>
> ultimately you want to get something like:
>   <author>Issa Paola V&#x00E1;zquez Guti&#x00E9;rrez</author>
>
> a cheap alternative is to escape all ampersands to pass the Latin-1
> entities unconverted ... but thats cheating :)
>
> ttfn
> ----hussein
>
> --
> ========================================================================
> hussein suleman -- hussein@vt.edu -- vtcs -- http://purl.org/net/hussein
> ========================================================================
> _______________________________________________
> OAI-implementers mailing list
> OAI-implementers@oaisrv.nsdl.cornell.edu
> http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers
>