Open twagoo opened 6 years ago
Also see the document describing the Potential for reimplementation of VLO post-processors as value mapping cases
For an updated analysis, see https://github.com/clarin-eric/VLO/issues/191. We may want to close this issue.
Currently, license type has a rather specific (post)processing logic: a rather limited set of concepts have their values mapped directly. If no value is mapped, the value of
availability
is adopted. This allows for explicit 'overrides' of the availability level (pub/aca/res). SeeLicenseTypePostNormalizer.java
:To reduce the complexity of the new value mapping implementation (see https://github.com/clarin-eric/VLO/issues/93), we would like to get rid of the option to 'map if no match' (controlled by the
doesProcessNoValue
method ofAbstractPostNormalizer
)With the new value mapping implementation, we can achieve the following with a cross-facet mapping from
availability
tolicenseType
with:availability
to the same values inlicenseType
Implement this to see if this actually works.