hbz / metafacture-core

NOTE: This is an archived fork of metafacture-core, see: https://github.com/metafacture/metafacture-core
Apache License 2.0
1 stars 0 forks source link

Handle not-normalized Pica+ #13

Closed dr0i closed 5 years ago

dr0i commented 5 years ago

Something like the first example in https://verbundwiki.gbv.de/pages/viewpage.action?pageId=40009828 is called a non-normalized PICA+. It uses '\n' (Byte 10) as field marker and '$' as subfield-marker. In contrast to normalized PICA+, which encodes records in a whole line, using Byte 29 and 10 (aka 'new line') to indicate the beginning of a new record and Byte 30 before a field. Subfiellds are marked by Byte 31instead of the '$'.

As we got non-normalized PICA+ from T. Schulz and as metafacture-core provides only routines to compute normalized PICA+ a non-normalized PICA+ decoder would be nice.

dr0i commented 5 years ago

Just a note that catmandu can do this also (https://github.com/gbv/Catmandu-PICA/issues/47).

dr0i commented 5 years ago

Closing in favour of the issue opened in the main repository.