Hi! I think I can confirm that the provided configuration files are false, but also that the datestamp=unknown problem still prevails. Here are some csw query strings to check. (taken from: https://docs.geoserver.org/latest/en/user/community/csw-iso/tutorial.html) Geoserver csw query strings GetCapabilities http://geodatatorget.se:8080/geoserver/csw?service=csw&version=2.0.2&request=GetCapabilities Describe the metadata record http://geodatatorget.se:8080/geoserver/csw?service=CSW&version=2.0.2&request=DescribeRecord&typeName=gmd:MD_Metadata Query all layers http://geodatatorget.se:8080/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 Query one specific layer http://geodatatorget.se:8080/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&constraint=Title=%27mosaic%27
The two first requests work as expected. The following two do not return any records. But they worked up until I installed the Metadata extension, and added the configure files from here ( https://docs.geoserver.org/latest/en/user/tutorials/metadata/index.html#tutorial-metadata ) There must be some false or outdated However, the missing value for metadata.date returns Unknown from this code breaks Geonetwork harvesting. $dateStamp.Date= if_then_else ( isNull("metadata.date") , 'Unknown', "metadata.date") Regards, Mats.E Den mån 26 juli 2021 kl 12:46 skrev Bekius, Dolf <dolf.bek...@wur.nl>: > Hello Andrea, > > > > Thanks for your reply, so our problem might have to do with (some) > configuration files that aren’t maintained. > > > > In fact we already have installed the CSW ISO community module from the > nightly builds as explained here: > https://docs.geoserver.org/latest/en/user/community/csw-iso/installing.html > > When the installation of this module was completed we had two files in the > directory ../geoserver_data/csw: 'FC_FeatureCatalogue.properties' and > 'MD_Metadata.properties'. > > > > However, after that we’ve also installed the Metadata community module > from the nightly builds as explained here: > https://docs.geoserver.org/latest/en/user/community/metadata/index.html#community-metadata > > And when the installation of this module was completed we have placed into > the directories ../geoserver_data/csw and ../geoserver_data/metadata the > configuration files for INSPIRE metadata that are provided here: > https://docs.geoserver.org/latest/en/user/tutorials/metadata/index.html > > > > Doing that, the former files 'FC_FeatureCatalogue.properties' and > 'MD_Metadata.properties' were replaced by the ones provided for the INSPIRE > metadata configuration. Maybe the error messages in our CSW-service have to > do with the INSPIRE configuration files, I’ll take a look at this later > this week and compare them with the ISO configuration files. > > > > Kind regards, > > > > Vriendelijke groeten, > > Dolf Bekius > > Databeheerder > > Wageningen Marine Research > > Haringkade 1 > > 1976 CP IJMUIDEN > > > > *From:* Andrea Aime <andrea.a...@geo-solutions.it> > *Sent:* vrijdag 23 juli 2021 11:01 > *To:* Wal, Jan Tjalling van der <jan_tjalling.vander...@wur.nl> > *Cc:* geoserver-users@lists.sourceforge.net; Bekius, Dolf < > dolf.bek...@wur.nl> > *Subject:* Re: [Geoserver-users] GeoServer: @href error on > MD_LegalConstraints.otherConstraints > > > > I see you're trying to use ISO metadata in the request, however the CSW > ISO > > module fell un-maintained and it's no longer part of the CSW extension. > > I'm not sure > > It can still be used, but you have to grab the module from the nightly > builds: > > > > > https://build.geoserver.org/geoserver/2.18.x/community-latest/geoserver-2.18-SNAPSHOT-csw-iso-plugin.zip > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuild.geoserver.org%2Fgeoserver%2F2.18.x%2Fcommunity-latest%2Fgeoserver-2.18-SNAPSHOT-csw-iso-plugin.zip&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324441561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0aJbz2sIeo%2BaYOD2S0XaXA1DygaAqgYZCloEqKCkiyQ%3D&reserved=0> > > > > I have no idea if it's still working though. > > > > Cheers > > Andrea > > > > On Thu, Jul 22, 2021 at 9:26 PM 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.geoserver.org%2Flatest%2Fen%2Fuser%2Ftutorials%2Fmetadata%2Findex.html&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324451557%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=q3J49CsD0rKFhKrkeYTPnWUuYWb6Z2YWaQh4dSLvbNo%3D&reserved=0>. > > > 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopengeodata.wmr.wur.nl%2Fgeoserver%2Fcsw%3Fservice%3DCSW%26version%3D2.0.2%26request%3DGetRecords%26typeNames%3Dgmd%3AMD_Metadata%26resultType%3Dresults%26elementSetName%3Dfull%26outputSchema%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324451557%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YkO%2BdwtElhhaBNTxN7GK39cROxb6lwRHSqM9V58p5m0%3D&reserved=0> > > > > Yields this result: > > <ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324461550%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XSP4IJoC4UkCrw2PBG6l2%2F6C2EMhJ0ne9KcXFGqjOmw%3D&reserved=0> > " xmlns:ows="http://www.opengis.net/ows > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opengis.net%2Fows&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324461550%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CHfj4diusSOxzty3EX3biXA4x%2F2fUvCKVC3E8mCxwvQ%3D&reserved=0> > " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324471543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4kuGTAfGVqJ6Ll2gmy8%2B9G3aGMZ5i48eGJQzN1JfNA8%3D&reserved=0> > " version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opengis.net%2Fows&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324471543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f6TO0NqT4dUuMYg90QK4%2Bh1dHFlgTaMscn1ez%2F06wDA%3D&reserved=0> > https://opengeodata.wmr.wur.nl/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopengeodata.wmr.wur.nl%2Fgeoserver%2Fschemas%2Fows%2F1.0.0%2FowsExceptionReport.xsd&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324481538%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Cu5vTHU7%2BnvhOmoyoJBfM8l4anvgRTdmd6M%2FWxtrU6Q%3D&reserved=0> > "> > > <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 > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx%3AAnchor_Type&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324491532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ODqCUteNGxDS7fkrbRybtw080BZuS9I3aYYbzqAxShI%3D&reserved=0> > 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 > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx%3AAnchor_Type&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324491532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ODqCUteNGxDS7fkrbRybtw080BZuS9I3aYYbzqAxShI%3D&reserved=0> > 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 > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx%3AAnchor_Type&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324501530%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dvAa4TXkAFx3ydiN1KvEr7CivgTO2KowFSgECqi1yqE%3D&reserved=0> > Cannot find descriptor for attribute @href in type > http://www.isotc211.org/2005/gmx:Anchor_Type > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmx%3AAnchor_Type&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324501530%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dvAa4TXkAFx3ydiN1KvEr7CivgTO2KowFSgECqi1yqE%3D&reserved=0> > </ows:ExceptionText> > > </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 > > [image: WUR_RGB_standard] > > www.wur.nl/marine-research > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wur.nl%2Fmarine-research&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324511523%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=c0nyod%2FdN9lFqbi%2F%2BcUUlqpJwjLFEgQEmP7IoOO0ePA%3D&reserved=0> > (NL) / www.wur.eu/marine-research > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wur.eu%2Fmarine-research&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324521520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5bHUxIBECnbNh8NuAfFXQtkxSpA9CvJjDbtUMy4gdSM%3D&reserved=0> > (ENG) > > www.disclaimer-nl.wur.nl > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.disclaimer-nl.wur.nl%2F&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324521520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WXb4aSfMyZhFgN7lhQ8J3kZ0Ud4OxTTdXMKnBzpuXdk%3D&reserved=0> > / www.disclaimer-uk.wur.nl > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.disclaimer-uk.wur.nl%2F&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324531513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gfdDtjlL9Q%2BJZyD0NgBpAwT39JbAh23w09f16m814YI%3D&reserved=0> > > > > _______________________________________________ > 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#/ > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324531513%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5IdMSh%2FPTnJzBFwkGTB9wcCSMcJfrsFgZlEUuVQbnzg%3D&reserved=0> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324541509%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=qvikBEaJKoH%2B9%2FfI5cZcNUFpd%2FQSHMAh68UbMfYcXLI%3D&reserved=0> > > 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324551500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TZYomJdUwuZyOT9qSAXeCPo%2FOTTLKI5FYzpTYxo9SW0%3D&reserved=0> > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&data=04%7C01%7Cdolf.bekius%40wur.nl%7Cb222091f501d4c3edade08d94db865f9%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637626278324551500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XH6vFKo0enDs3kVxrw0sgweeM5SlOPouLZfk83qOBR0%3D&reserved=0> > > _______________________________________________ > 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 > -- *GisKraft*, Geodatakonsult Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden tel: +46 70 595 39 35 / www.giskraft.se
_______________________________________________ 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