geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
428 stars 489 forks source link

CSW Harvester - xsl process doesn't work #1872

Closed josegar74 closed 7 years ago

josegar74 commented 7 years ago

The CSW Harvester UI display the Xsl processes from xsl/conversion/import (https://github.com/geonetwork/core-geonetwork/tree/3.2.x/web/src/main/webapp/xsl/conversion/import), but the Java code checks to find the xsl in the process folder of the metadata schema:

The processes should be taken from https://github.com/geonetwork/core-geonetwork/tree/3.2.x/web/src/main/webapp/xsl/conversion/import

Probably this affects to any harvester that can use a xsl process.

josegar74 commented 7 years ago

Applied a fix for CSW harvester, would be good to unify xslt processing in harvesters (see related https://github.com/geonetwork/core-geonetwork/issues/1873)