gbv / Catmandu-PICA

Catmandu modules for working with PICA+ data
https://metacpan.org/release/Catmandu-PICA
Other
4 stars 4 forks source link

Breaking change in PICA Path expression language with PICA::Data 2.0 #75

Closed nichtich closed 1 year ago

nichtich commented 2 years ago

PICA::Data 2.0 will introduce a breaking change in PICA Path expression language (see https://github.com/gbv/PICA-Data/issues/109#issuecomment-981562847). The changes only affect some special cases (but the this depends on use case!). Current unit tests of Catmandu::PICA don't cover these cases, so Catmandu::PICA will install with PICA::Data 2.0 once the latter has been released but existing installation will work with the old syntax at same version of Catmandu::PICA. We may create a new release of Catmandu::PICA with PICA::Data 2.0 as requirement.

nichtich commented 1 year ago

A warning should be given if PICA Path expression does not include a $ or . before subfields.