Re: File::XML small improvement for unimarc guys

2007-06-22 Thread Dan Scott

On 22/06/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');


And while you're at it, s/charater/character/ please :)

--
Dan Scott
Laurentian University


Re: File::XML small improvement for unimarc guys

2007-06-22 Thread Mike Rylander

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