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

Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd #205

Closed bmcvicker closed 8 years ago

bmcvicker commented 8 years ago

We are unable to create new ISO 19115 (Data) format metadata records using the dedicated editor on Geoportal, v 1.2.4. We can still create other formats (FGDC, etc.) but need to use the ISO Data format. This just started today, and nothing has changed in our geoportal configuration. Can anyone shed some light on why this is happening and how to fix?

Thanks for your help.

mhogeweg commented 8 years ago

does your log give any hints? did nothing change in the configuration or on the web server?

bmcvicker commented 8 years ago

Hi, Thanks for your reply. We have found a change to our system setup that caused this error, so we think we have it fixed. Thanks!

From: Marten [mailto:notifications@github.com] Sent: Sunday, April 10, 2016 10:01 AM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Bethann McVicker bmcvicker@pdc.org Subject: Re: [Esri/geoportal-server] Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd (#205)

does your log give any hints? did nothing change in the configuration or on the web server?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/Esri/geoportal-server/issues/205#issuecomment-208054613

bmcvicker commented 7 years ago

Hello,

We are unable to add or edit any metadata records currently on our Geoportal site. We see the following error message:

???Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd

Nothing has changed on our system side. When I go directly to the isotc website (http://www.isotc211.org) it says the site is unavailable. I’m guessing this is what is causing the error. Can you tell me how to find out if and when the site will be back up?

Thanks,

Bethann McVicker GIS Analyst Pacific Disaster Center

From: Marten [mailto:notifications@github.com] Sent: Sunday, April 10, 2016 10:01 AM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Bethann McVicker bmcvicker@pdc.org Subject: Re: [Esri/geoportal-server] Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd (#205)

does your log give any hints? did nothing change in the configuration or on the web server?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/Esri/geoportal-server/issues/205#issuecomment-208054613

mhogeweg commented 7 years ago

hi, the reference to the xsdLocation can be found in the editor definition files. for example for ISO 19115, see:

...\webapps\geoportal\WEB-INF\classes\gpt\metadata\iso\iso-19115-definition.xml

there you'll see the xsdLocation attribute (xpath = /schema/@xsdLocation). making this blank will make Geoportal Server not look for the XSD.

bmcvicker commented 7 years ago

Thanks, Marten. Could you clarify what you mean by “making this blank”. Should we delete the whole line:

xsdLocation="http://www.isotc211.org/2005/gmd/metadataEntity.xsd[GML32]http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/metadataEntity.xsd"

Or just the part after the “xsdLocation=”?

From: Marten [mailto:notifications@github.com] Sent: Thursday, June 29, 2017 6:14 PM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Bethann McVicker bmcvicker@pdc.org; Author author@noreply.github.com Subject: Re: [Esri/geoportal-server] Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd (#205)

hi, the reference to the xsdLocation can be found in the editor definition files. for example for ISO 19115, see:

...\webapps\geoportal\WEB-INF\classes\gpt\metadata\iso\iso-19115-definition.xml

there you'll see the xsdLocation attribute (xpath = /schema/@xsdLocation). making this blank will make Geoportal Server not look for the XSD.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/geoportal-server/issues/205#issuecomment-312170600, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARfbn6WUSMofHWBTP-OnG6JFca0yTTAaks5sJHYigaJpZM4ICp6D.

mhogeweg commented 7 years ago

change

xsdLocation="http://www.isotc211.org/2005/gmd/metadataEntity.xsd[GML32]http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/metadataEntity.xsd"

to

xsdLocation=""
bmcvicker commented 7 years ago

Thanks Marten. That seemed to do the trick! Bethann

From: Marten [mailto:notifications@github.com] Sent: Friday, June 30, 2017 10:14 AM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Bethann McVicker bmcvicker@pdc.org; Author author@noreply.github.com Subject: Re: [Esri/geoportal-server] Error parsing XSD, schema=iso-19115 xsdLocation=http://www.isotc211.org/2005/gmd/metadataEntity.xsd (#205)

change

xsdLocation="http://www.isotc211.org/2005/gmd/metadataEntity.xsd[GML32]http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/metadataEntity.xsdhttp://www.isotc211.org/2005/gmd/metadataEntity.xsd%5bGML32%5dhttp:/standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/metadataEntity.xsd"

to

xsdLocation=""

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/geoportal-server/issues/205#issuecomment-312362916, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARfbn8VjYuudL5pCFc9DNiYlsRuFsJZUks5sJVcCgaJpZM4ICp6D.