-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema Validation of ISO 19115 community profile XML document #134
Comments
Hello, I've noticed the planned tag has been added. Can you elaborate more on the planning schedule for this issue? Thank you in advance. Please let me know if more info are needed. |
In the meantime an updated version of SeaDataNet community profile has been released. Here are the updated test reports: |
Hello, this error is still present. The profile schema extends the official ISO 19139, so all the gmd element declarations should be correctly found. You can try validating it with an editor (e.g. Oxygen XML Editor) and it will validate fine. |
Following the discussion in https://github.com/inspire-eu-validation/community/issues/45, we can mark the issue as solved. It will be deployed in the reference validator (production instance) soon. |
The workaround proposed here: inspire-eu-validation/community#45 doesn't work anymore. Something has changed in the past few days in the staging validator. |
Just a little update: in the staging validator the error persists, while the official validator works as expected now. |
Dear @enricoboldrini Thank you for your comments. The XML schema validation in metadata 1.3 in staging instance works now as the official instance. Could you please try again in staging instance? We are working on some issues related to XML schema validation for metadata 1.3. Therefore, some changes might be expected. I would like to remind that support for MD TG 1.3 will stop at the end of the year. Then, it is recommend to use MD TG 2.0. Regards |
Dear @danielnavarrogeo, thank you very much for the follow up and info. I confirm that currently validation is successful in both environments. Regarding removal of support for MD TG 1.3 in favor of MD TG 2.0: does it mean that ISO schema version 20060504 (the one used by OGC IS AP ISO) will not be validated by the ETF-validator from next year? (in favor of version 20070417?) Thank you very much in advance for the info, Enrico |
Dear @enricoboldrini, please note that the OGC IS AP ISO schema (http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd) already make use of the OGC version 2007-04-17 of the gmd namespace, and consequently of the GML version 3.2.1. |
Dear @fabiovin, thank you for the hint, I didn't noticed that. It seems OGC changed from 2006 to 2007 schemata in the AP ISO bug fix version 1.0.1 (2018-03-21). Thank you again, Enrico |
Dear Enrico, In any case, the MD TG 2.0 provides for the use of |
O.k., perfect. Thank you for the follow up @fabiovin, that's appreciated. Enrico |
Dear @enricoboldrini, Does the provided solution work? Best regards. |
Dear @josemasensio yes it works, thank you! Enrico |
Dear @enricoboldrini, Glad to hear that. We will mark the issue as solved. Best regards. |
Error returned: Cannot find the declaration of element 'gmd:MD_Metadata'.
I'm validating a SeaDataNet XML document, that is a community profile of ISO 19115 metadata, drafted according to official ISO 19115 rules.
This document should be validated using the schema(s) specified in its xsi:schemaLocation. These schemas are in turn importing the official ISO/OGC schemas (http://schemas.seadatanet.org/Standards-Software/Metadata-formats/SDN2_CDI_ISO19139_10.0.1.xsd), as well as defining some community elements.
In particular, the gmd:MD_Metadata element definition should be correctly found in the imported ISO AP schemas: http://www.isotc211.org/schemas/2005/gmd/gmd.xsd.
The text was updated successfully, but these errors were encountered: