metafacture / metafacture-fix

Work in progress towards an implementation of the Fix language for Metafacture
Apache License 2.0
6 stars 2 forks source link

Collect things that are still different between Catmandu and Fix/Metafacture #222

Open TobiasNx opened 2 years ago

TobiasNx commented 2 years ago

We should collect things that are different between fix and catmandu and decide if we want to keep it like that or open tickets:

TobiasNx commented 2 years ago
TobiasNx commented 2 years ago
TobiasNx commented 2 years ago
blackwinter commented 2 years ago

when transforming to yaml from marc catmandu shows the hidden _id too, metafacture does not

It does if you tell it to: copy_field("_id", "_id") (see #84).

TobiasNx commented 2 years ago

when transforming to yaml from marc catmandu shows the hidden _id too, metafacture does not

It does if you tell it to: copy_field("_id", "_id") (see #84).

but not by default (should have been more specific). Catmandu see here: https://librecatproject.wordpress.com/2014/12/11/day-9-processing-marc-with-catmandu/

TobiasNx commented 2 years ago

do list(path:"...", "var":"...) in MF Fix the var needs to be in " in catmandu not

TobiasNx commented 2 years ago

substring-function does not define start and end index but start and number of signs.

TobiasNx commented 2 years ago

the match conditional does not work as the regexp-filter in morph. The string needs to be matching the whole pattern. The regexp-filter also matches with parts of the string.

TobiasNx commented 2 years ago

Fix has no morph-like filter functions that only keep values that match the condition. You need a conditional as workaround.