Coder Social home page Coder Social logo

Comments (3)

smrgeoinfo avatar smrgeoinfo commented on June 11, 2024

This is a problem-- the official ISO schema that incorporated service metadata (mds.xml) uses srv2.0. https://schemas.isotc211.org/19115/ does not have an srv2.1 schema. If you have ISO19115-3 metadata for data or services using the mds profile e.g.
xsi:schemaLocation="http://standards.iso.org/iso/19115/-3/mds/2.0 https://schemas.isotc211.org/19115/-3/mds/2.0/mds.xsd"
it will not validate if you have instance documents using srv2.1 namespace. for instance if this valid metadata instance is transformed using fromISO19115-3.2014.xsl, the metadata record is no longer schema valid ("
Invalid content was found starting with element '{"http://standards.iso.org/β€Šiso/19115/-3/srv/2.1":SV_ServiceIdentification}β€Š'...."

Why is geonetwork using srv2.1? The only difference with 2.0 is implementing SV_Parameter using a new abstract class substitution group "mcc:Abstract_Parameter" instead of "gco:AbstractObject". Given that TC211 hasn't incorporated srv2.1 into any of the metadata implementation schema, e.g. mds2.1 (at least as far as I've been able to tell), doesn't seem like there's a huge need for it?

I'm using mds2.0 to validate ISO115-3 metadata, so I'm looking at having to find all the srv/2.1 text strings in the core-geonetwork repo and change to srv/2.0

from core-geonetwork.

fxprunayre avatar fxprunayre commented on June 11, 2024

Looks like version 2.1 was removed at some point ISO-TC211/XML@06bb6bc after we added the XSD in GeoNetwork and we probably choose the last version. I always find difficult to know which file to use in TC211 repo containing quite a number of versions of the same files

image

So we indeed probably need to rollback to 2.0. I'll check it.

from core-geonetwork.

fxprunayre avatar fxprunayre commented on June 11, 2024

@smrgeoinfo maybe you can check #7806

For the migration, I only update the schema URL in records https://github.com/geonetwork/core-geonetwork/pull/7806/files#diff-c664505c40ee4287bdee16aba291c954676e92a48c761fdcff873f398cab5a74R1 I'll do further testing on catalogue having service metadata records in ISO19115-3.

from core-geonetwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.