Open fruviad opened 2 years ago
The following fields in the ODN MAP are cited as "Repeatable: No" and "Required: Yes":
edm:preview, however, is in the category of "required, but only under certain conditions." See also: https://github.com/StateLibraryofOhio/slo_dpla_postprocessing/issues/6
Basic XSLT logic is in $SLODPLA_LIB/show-rights-problems.xsl and $SLODPLA_LIB/show-title-problems.xsl, which currently spit out pipe-delimited values for the number of occurrences and the corresponding isShownAt URI for those records that do not have 1-and-only-1 of the elements.
Some fields are required to have no more than 1 value (e.g. edm:rights).
XSLT should be revised to ensure that data from contributors conforms to this requirement.
An example of a failure when there are multiple values being fed to an XSL stylesheet using current code: