Re: File::XML small improvement for unimarc guys

[email protected] ("Mike Rylander")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
On 6/22/07, Paul POULAIN <[email protected]> wrote:
> Hello world,
>
> at line 503 is written :
> die "Unsupported UNIMARC charater encoding [$enc] for XML output";
>
> could we set instead :
> die "Unsupported UNIMARC charater encoding [$enc] for XML output for $f,
> field 100 being ".$r->subfield(100 => 'a');

Done, and CVS updated at sf.net.  On a related note, if you can help
me build a map of encoding codes from 100$a to ISO names, I'll add
them.  While they may or may not be supported in any particular XML
parser, at least it would be more correct than simply failing ... and
iconv could probably be used to fix up the output files in a
post-processing step.

(Dan, I also corrected that "charater" typo while I was in there.)

--miker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.