Hello Heiko,

I believe the namespaces for CSW-ISO are hard coded in org.geoserver.csw.records.iso.MetaDataDescriptor, though I cannot guarantee that adding it there is all that is needed to resolve your issue. Perhaps it would be interesting making this a configurable thing.

Kind Regards

Niels

On 05/01/2022 12:13, Friedrich, Heiko wrote:

Hello everybody,

I tried wo write that problem to the issue-board ( https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues <https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues> ) but I can’t login although I have an account. So I trie it here, maybe somebody can help.

We are using the geoserver CSW-plugin, the CSW-ISO-plugin and the meta-data plugin. In one of these plugins the namespaces for the CSW-service is set. I don’t know in which of these.

Unfortunately the srv-namespace is missing ( xmlns:srv=http://www.isotc211.org/2005/srv <http://www.isotc211.org/2005/srv> ). (In CSW-services from other mapservers the srv-namespace is available, e.g.: https://geoportal-hamburg.de/metaver_de/csw?service=CSW&request=GetRecordById&version=2.0.2&outputschema=http:%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementsetname=full&id=9784D2A9-AEEA-46DF-9FAD-2FA14BFCA00D <https://geoportal-hamburg.de/metaver_de/csw?service=CSW&request=GetRecordById&version=2.0.2&outputschema=http:%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementsetname=full&id=9784D2A9-AEEA-46DF-9FAD-2FA14BFCA00D> )

Before we updated to geoserver version 2.20.1 there was also the gml-namespace missing, but know it works… J

Maybe somebody can tell me in which of the plugins the namespace is set, if I can configure it somewhere of if it is a bug and it has to be fixed?

Kind regards!

Heiko Friedrich

PS:

If it helps, the x-path confiugred in the MD_Metadata.properties should look like this:

identificationInfo.SV_ServiceIdentification.serviceType.LocalName.@codeSpace= identificationInfo.SV_ServiceIdentification.serviceTypeVersion.CharacterString= identificationInfo.SV_ServiceIdentification.couplingType.SV_CouplingType@codeList= identificationInfo.SV_ServiceIdentification.containsOperations.SV_OperationMetadata.operationName.CharacterString= identificationInfo.SV_ServiceIdentification.operatesOn.@href=

------------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche und⁄oder rechtlich geschuetzte Informationen.Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail oder von Teilen dieser Mail ist nicht gestattet. Wir haben alle verkehrsueblichen Massnahmen unternommen, um das Risiko der Verbreitung virenbefallener E-Mail zu minimieren, dennoch raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhaenge an dieser Nachricht durchzufuehren. Wir schliessen die Haftung fuer jeglichen Verlust oder Schaeden durch virenbefallene E-Mail aus.
*Stadt Norderstedt*
*Die Oberbuergermeisterin***

http://www.norderstedt.de <http://www.norderstedt.de>

------------------------------------------------------------------------


_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to