Hi Jan Tjalling, 2 things come to mind, but I’ve not recently tried: - gmx namespace is not included in the 2006 version of gmd, geoserver however seems to use the 2007 version of iso19139, so this is probably not the problem - Anchor.@href seems missing the xlink namespace, gmx:Anchor/@xlink:href, can this be the problem?
Kind regards, Paul van Genuchten GeoCat BV, Bennekom, the Netherlands > On 22 Jul 2021, at 13:40, Wal, Jan Tjalling van der > <jan_tjalling.vander...@wur.nl> wrote: > > Dear all, > > We have added the CSW-module and the Inspire-metadata to GeoServer (2.18.4) > as per the instructions here > <https://docs.geoserver.org/latest/en/user/tutorials/metadata/index.html>. > However despite trying various options when editing the metadata (on the > available tab), a GetRecord-request does not receive a valid answer. > > GetCapabilities does give a correct answer. > > This query: > https://opengeodata.wmr.wur.nl/geoserver/csw?service=CSW&version=2.0.2&request=GetRecords&typeNames=gmd:MD_Metadata&resultType=results&elementSetName=full&outputSchema=http://www.isotc211.org/2005/gmd > > <https://opengeodata.wmr.wur.nl/geoserver/csw?service=CSW&version=2.0.2&request=GetRecords&typeNames=gmd:MD_Metadata&resultType=results&elementSetName=full&outputSchema=http://www.isotc211.org/2005/gmd> > > Yields this result: > <ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema > <http://www.w3.org/2001/XMLSchema>" xmlns:ows="http://www.opengis.net/ows > <http://www.opengis.net/ows>" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance > <http://www.w3.org/2001/XMLSchema-instance>" version="1.0.0" > xsi:schemaLocation="http://www.opengis.net/ows > <http://www.opengis.net/ows>https://opengeodata.wmr.wur.nl/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd > > <https://opengeodata.wmr.wur.nl/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd>"> > <ows:Exception exceptionCode="NoApplicableCode"> > <ows:ExceptionText>javax.xml.transform.TransformerException: Translator error > Translator error Failed to encoder records Problem with features2 visiting > feature:java.lang.IllegalArgumentException: Error mapping resource > BV_Telgebieden: Failed mapping property > 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href': > Cannot find descriptor for attribute @href in type > http://www.isotc211.org/2005/gmx:Anchor_Type > <http://www.isotc211.org/2005/gmx:Anchor_Type> Error mapping resource > BV_Telgebieden: Failed mapping property > 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href': > Cannot find descriptor for attribute @href in type > http://www.isotc211.org/2005/gmx:Anchor_Type > <http://www.isotc211.org/2005/gmx:Anchor_Type> Failed mapping property > 'identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints.Anchor.@href': > Cannot find descriptor for attribute @href in type > http://www.isotc211.org/2005/gmx:Anchor_Type > <http://www.isotc211.org/2005/gmx:Anchor_Type> Cannot find descriptor for > attribute @href in type > http://www.isotc211.org/2005/gmx:Anchor_Type</ows:ExceptionText> > <http://www.isotc211.org/2005/gmx:Anchor_Type%3C/ows:ExceptionText%3E> > </ows:Exception> > </ows:ExceptionReport> > > What are we missing? > > Suggestions on what to check or modify are greatly appreciated, > Jan Tjalling van der Wal > Wageningen Marine Research (IMARES) Institute for Marine Resources & > Ecosystem Studies > Ankerpark 27, 1781 AG Den Helder > Postbus 57, 1780 AB Den Helder > Tel. +31 (0)317-4 87147 # > GSM +31(0)626120915 (privé) # > # Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00 > jan_tjalling.vander...@wur.nl <mailto:jan_tjalling.vander...@wur.nl> > <image001.png> > www.wur.nl/marine-research <http://www.wur.nl/marine-research> (NL) / > www.wur.eu/marine-research <http://www.wur.eu/marine-research> (ENG) > www.disclaimer-nl.wur.nl <http://www.disclaimer-nl.wur.nl/> / > www.disclaimer-uk.wur.nl <http://www.disclaimer-uk.wur.nl/> > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > <http://www.ianturton.com/talks/foss4g.html#/> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <http://geoserver.org/comm/userlist-guidelines.html> > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer> > > > Geoserver-users@lists.sourceforge.net > <mailto:Geoserver-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users