Hello List
I’m trying to use postprocessing for csw output in GeoNetwork 3.12.x. I’ve checked that I have the code from https://github.com/geonetwork/core-geonetwork/pull/4493 in place, and I have exactly replicated the setup in that PR- namely an inspire source and a gmd-inspire-postprocessing.xsl file in myschema/present/csw directory. I’ve tested that the xpath expressions match elements in my test xml file. When I test it using the cURL request in the PR:
curl ‘http://localhost:8080/geonetwork/inspire/eng/csw’ -H ‘Content-type: application/xml’ --data-binary $‘<csw:GetRecordById xmlns:csw=“http://www.opengis.net/cat/csw/2.0.2”\n service=“CSW” version=“2.0.2”\n outputSchema=“http://www.isotc211.org/2005/gmd”>\n csw:ElementSetNamefull</csw:ElementSetName>\n csw:Id[myrecordUUID]</csw:Id>\n</csw:GetRecordById>’ --compressed
The changes don’t come through. However, if I apply them in myschema/present/csw/gmd-full.xsl then they work.
I’ve tested this using the standard docker 3.12 image, and also building from scratch and using jetty and get the same result in both cases. I assume I’m missing something fundamental about how the csw postprocessing is supposed to work?
Any help would be much appreciated.
All the best
Jo
–
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009
–
Sign up to our mailing list for updates on news, products, conferences, events and training
Astun Technology Ltd, t:+44 1372 744 009 contact us online
web: astuntechnology.com twitter:@astuntech
iShare - enterprise geographic intelligence platform
GeoServer, PostGIS and QGIS training
Support
Company registration no. 5410695. Registered in England and Wales. Registered office: Penrose House, 67 Hightown Road, Banbury, OX16 9BE VAT no. 864201149.