Closed andrea-perego closed 3 years ago
The proposed revision has been implemented in PR https://github.com/SEMICeu/iso-19139-to-dcat-ap/pull/26
A global parameter $include-deprecated
has been added, which takes as value either yes
or no
.
As it is a global parameter, its value (yes
/ no
) can be set by the application running the XSLT.
As no objections were raised, I will merge PR https://github.com/SEMICeu/iso-19139-to-dcat-ap/pull/26 and close this issue.
GeoDCAT-AP 2.0.0 has deprecated a number of mappings, following the alignment with DCAT/DCAT-AP 2, and the terms defined in the GeoDCAT-AP namespace (the full list is in §A.2 of the GeoDCAT-AP 2.0.0 specification).
To support backward compatibility, the GeoDCAT-AP XSLT still uses these mappings, along with the new ones. This, however, adds noise in the output records, and it may not be fit for all use cases.
An option is to include in the XSLT a global parameter which can used to specify whether deprecated mappings must or must not be included in the output.