Skip to content
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

Fix schemaLocation paths that points to non-existing paths on standards.iso.org #26

Open
ronaldtse opened this issue Mar 12, 2020 · 19 comments
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

In #24 it is now known that some schema files on standards.iso.org have been deleted.

We need to update existing schema files in our repo to no longer point there but to a local copy.

Originally posted by @ronaldtse in #24 (comment)

@ronaldtse ronaldtse added the bug Something isn't working label Mar 12, 2020
@ejbleys
Copy link
Contributor

ejbleys commented Mar 12, 2020 via email

@ejbleys
Copy link
Contributor

ejbleys commented Mar 12, 2020 via email

@cportele
Copy link
Member

Whatever you do, don't include any copy of 19136 / GML schema documents on schemas.isotc211.org. Just reference the normative schemas in the OGC schema repository where OGC has policies and processes in place to maintain permanent availability and include bugfixes as needed. Everything else are broken or outdated copies like the ones previously on standards.iso.org.


Resolution 959: Schema files for ISO 19136, Geographic information -- Geography Markup Language (GML)
Noting that the official XML schema repository for ISO 19136-1 Edition 1 will be http://schemas.opengis.net/gml/3.2.1/, ISO/TC 211 instructs the secretariat to take required actions to delete outdated schema files for ISO 19136 from standards.iso.org.

@ejbleys
Copy link
Contributor

ejbleys commented Mar 12, 2020 via email

@PeterParslow
Copy link

As Clemens says, where we are importing schemas that are managed by other groups, we should reference them at their URLs. I think the same principle could be usefully applied where on TC211 standard imports a schema from another TC211 standard. In my view, relative paths are for where the package/schema file being imported is part of the same standard.

Of course, that gives some ambiguity for ISO 19136 / GML - but that is resolved by the Foreword & informative annex C of 19136-1 stating that the schemas are at http://schemas.opengis.net/gml/3.2.1/ (in 19136:2007 it's "only" in the Annex and examples). So (as you'd expect) Clemens is correct.

But as I've said on the other issues & pull requests that refer to this issue, there are many people "out there" who refer to the standards.iso.org locations that have worked for many years.

It's one thing to ensure that we have our own copy safely tucked away, but it is more urgent for our users to work with ISO to get them to reinstate the resources they have removed. Or if that is a strategic refusal (rather than a mistake), to work with us to communicate the change to a large existing user base - or else take a real hit to their credibility for managing IT resources.

I have emailed Mats asking him to contact them.

@MartinePaepen
Copy link

Hi,
we are implementing ISO 19115-2:2019-01.
And face the same problem:
the spec indicates that the online schema is availalbe on https://standards.iso.org/iso/19115/-2/gmi/
however if we use these, our INSPIRE metadata files doesn't validate due to the missing schema locations at http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/

For us it is necessary to solve this quickly. Any idea how to cope with this in the short term?

Many Thanks!
Martine Paepen (VITO / Belgium)

@ronaldtse
Copy link
Contributor Author

Looks like this is no longer an issue since 19139 has returned? @ejbleys please feel free to close if it is the case. Thanks!

@PeterParslow
Copy link

@ronaldtse , where has it returned to? It's not at the "previously most authoritative place", https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/

If https://standards.iso.org/iso/19139/ is now considered the right place, then there are still schema import issues to solve (both for TC211 and others - INSPIRE, OGC,...)

@ronaldtse
Copy link
Contributor Author

@PeterParslow bad wording on my part. It has been "re-inserted" (commit: 842920a) to schemas.isotc211.org .

This issue was originally meant to address missing schemaLocations sent out to standards.iso.org.

If https://standards.iso.org/iso/19139/ is now considered the right place, then there are still schema import issues to solve (both for TC211 and others - INSPIRE, OGC,...)

This still applies...

@ronaldtse
Copy link
Contributor Author

ronaldtse commented Mar 27, 2020

I did a search in the repo, and these schemaLocations are no longer around:

http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19136_Schemas/gml.xsd (point to http://schemas.opengis.net/gml/3.2.1/ ?)

http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd
http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd

We should probably update these to reflect the new resolvable location.

And we should have a place on the website to show where the authoritative schemas are located to prevent user confusion!

@ejbleys
Copy link
Contributor

ejbleys commented Mar 27, 2020 via email

@PeterParslow
Copy link

Note: the same problem also affects the schemaLocation attributes in the code lists e.g. https://schemas.isotc211.org/schemas/19139/resources/gmxCodelists.xml - which are ours to fix.

@ejbleys
Copy link
Contributor

ejbleys commented Apr 7, 2020 via email

@PeterParslow
Copy link

PeterParslow commented Apr 8, 2020

@ejbleys OK - but why do we also host a set with the unhelpful schemaLocations, at the URL I gave?

After I posted this, Mats let me know that ISO have redirected the old 19139 location on their site to https://standards.iso.org/iso/19139/

@ejbleys
Copy link
Contributor

ejbleys commented Apr 8, 2020 via email

@ejbleys
Copy link
Contributor

ejbleys commented Apr 8, 2020 via email

@ejbleys
Copy link
Contributor

ejbleys commented Apr 8, 2020 via email

@ejbleys
Copy link
Contributor

ejbleys commented Apr 8, 2020 via email

@ejbleys
Copy link
Contributor

ejbleys commented Jun 8, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants