ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
126 stars 193 forks source link

tags are not validated on harvest #231

Closed jeanpommier closed 4 years ago

jeanpommier commented 5 years ago

It seems that during harvesting, there is no tags validation. This allows you to harvest keywords that are then invalid in CKAN The only workaround would be to use the clean_tags option, but this is very lossy.

When harvesting from a CKAN instance, it is not as much relevant, but when harvesting from CSW, there can be some keywords that shoudln't be harvested as_is, for instance keywords containing a single quote, parenthesis, etc.

jeanpommier commented 4 years ago

Oops, sorry, I missed the config option clean_tags. Isn't the cleaning a bit extreme though ? All or nothing ?