Esri / geoportal-server

Geoportal Server is a standards-based, open source product that enables discovery and use of geospatial resources including data and services.
https://gptogc.esri.com/geoportal
Apache License 2.0
244 stars 149 forks source link

ISO 19115-2 metadata errors #256

Open reafas opened 7 years ago

reafas commented 7 years ago

We are unable to create new ISO 19115-2 (Data) format metadata records using the dedicated editor on Geoportal, v 1.2.7. We can still create other formats (FGDC, etc.) but need to use the ISO 2 Data format. Other than the instructions we followed on setting up the publishing, nothing else has changed in our geoportal configuration. Can anyone shed some light on why this is happening and how to fix?

The errors we are seeing are as follows: 06-Jan-2017 12:48:38.537 SEVERE [http-nio-8080-exec-29] com.esri.gpt.control.rest.ManageDocumentServlet.execute jErr = { message: "Invalid metadata document.", code: 409, errors: [ "???Error parsing XSD, schema=iso19115-2 xsdLocation=http:\/\/www.isotc211.org\/2005\/gmi\/gmi.xsd" ]}

We are unsure if there are problems with the iso-19115-2-definition.xml and iso-19115-2-template.xml files but from what I was able to verify they matched the latest on your website.

Thanks, Raquel

zguo commented 7 years ago

just tried on an internal geoportal instance, 19115-2 seems to work, the issue could be because the geoportal server machine unable to access http://www.isotc211.org/2005/gmi/gmi.xsd somehow.