ISO-TC211 / schemas

Official ISO/TC 211 XML Schemas (input to schemas.isotc211.org)
6 stars 8 forks source link

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

Closed ronaldtse closed 2 weeks ago

ronaldtse commented 4 years ago

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 https://github.com/ISO-TC211/schemas/issues/24#issuecomment-597990216

ejbleys commented 4 years ago

Opinions please (Not just Ron and Evert) Local copy? ie relative path Only works in situ OR schemaLocation =“https://schemas.isotc211.org/ https://schemas.isotc211.org/…”?
harder to update WHEN we move again E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-03-12, at 2:39 pm, Ronald Tse notifications@github.com wrote:

In #24 https://github.com/ISO-TC211/schemas/issues/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 https://github.com/ronaldtse in #24 (comment) https://github.com/ISO-TC211/schemas/issues/24#issuecomment-597990216 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ7GF4CKJEVRYEXUG6LRHBKPVANCNFSM4LGDNWWQ.

ejbleys commented 4 years ago

For those who need to see what it would look like Here is a ZIP file containing ISO 19139 and ISO 19136 in the directory structure as discussed using relative paths

Note: I have not tried to include ISO 19119 In the XML (.xml & .xsd), I have not changed anything but the schema locations and the layout of the namespace attributes

Cheers Evert Evert Bleys Convenor ISO TC 211 XMG 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-03-12, at 2:39 pm, Ronald Tse notifications@github.com wrote:

In #24 https://github.com/ISO-TC211/schemas/issues/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 https://github.com/ronaldtse in #24 (comment) https://github.com/ISO-TC211/schemas/issues/24#issuecomment-597990216 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ7GF4CKJEVRYEXUG6LRHBKPVANCNFSM4LGDNWWQ.

cportele commented 4 years ago

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 commented 4 years ago

Thanks Will do I’ll look for the appropriate schema locations Cheers Evert

Sent from my iPhone

On 12 Mar 2020, at 17:44, Clemens Portele notifications@github.com wrote:

 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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

PeterParslow commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@PeterParslow bad wording on my part. It has been "re-inserted" (commit: 842920a533e7b8ddd8a95c95a6a3bb6f373f6ace) 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 commented 4 years ago

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 commented 4 years ago

Hi Guys The only authoritative space is https://schemas.isotc211.org https://schemas.isotc211.org/

Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-03-27, at 6:32 pm, Peter Parslow notifications@github.com wrote:

@ronaldtse https://github.com/ronaldtse , where has it returned to? It's not at the "previously most authoritative place", https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ If https://standards.iso.org/iso/19139/ 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,...)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-604856213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ2NGNUGNAQW7ZSMSDDRJRJB3ANCNFSM4LGDNWWQ.

PeterParslow commented 4 years ago

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 commented 4 years ago

These now, appropriately, reside in https://schemas.isotc211.org/19139/-/ https://schemas.isotc211.org/19139/-/ Cheers e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com

On 2020-04-08, at 12:49 am, Peter Parslow notifications@github.com wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-610431504, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZZGV4CNINKIIVUMFLLRLM4OTANCNFSM4LGDNWWQ.

PeterParslow commented 4 years ago

@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 commented 4 years ago

Hi Peter I see what you mean Anyone on the XMG is at liberty to help fix them

Cheers E Evert Bleys Only the Convenor ISO / TC 211 XMG 4 Tudor Place HUGHES ACT 2605 Australia email: ejbleys@gmail.com Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ejbleijs@gmail.com

On 2020-04-08, at 5:24 pm, Peter Parslow notifications@github.com wrote:

@ejbleys https://github.com/ejbleys OK - but why do we also host a set with the unhelpful schemaLocations, at the URL I gave?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-610796296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ5CGOST3HMJZEVDJS3RLQRBDANCNFSM4LGDNWWQ.

ejbleys commented 4 years ago

Hi Guys The appropriate URL for that code list is https://schemas.isotc211.org/19139/-/resources/codelist/gmxCodelists.xml https://schemas.isotc211.org/19139/-/resources/codelist/gmxCodelists.xml Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ejbleys@gmail.com Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ejbleijs@gmail.com

On 2020-04-08, at 12:49 am, Peter Parslow notifications@github.com wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-610431504, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZZGV4CNINKIIVUMFLLRLM4OTANCNFSM4LGDNWWQ.

ejbleys commented 4 years ago

ISO 19136 has been retired use GML The ISO 19139 XSDs were lost, once they were recovered, they have been extracted, schemaLocations adjusted and placed into the agreed location The appropriate location for those XSDs are: https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd

Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ejbleys@gmail.com Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ejbleijs@gmail.com

On 2020-03-27, at 9:01 pm, Ronald Tse notifications@github.com wrote:

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 http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19136_Schemas/gml.xsd http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd 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/gmd/gmd.xsd http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd We should probably update these to reflect the new resolvable location.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-604915119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ26NSV4PUY2CZKAZGTRJR2PTANCNFSM4LGDNWWQ.

ejbleys commented 4 years ago

Dear All https://schemas.isotc211.org//-///???.xsd https://schemas.isotc211.org/%3CstandardNo%3E/-%3CpartNo%3E/%3CnameSpaceAbreviation%3E/%3CversionNo%3E/???.xsd is the appropriate place TC 211 has undertaken to maintain schemas in those locations until: the base URL changes (but the structure would be retained) we stop supporting XML

Cheers E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ejbleys@gmail.com Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ejbleijs@gmail.com

On 2020-03-27, at 6:35 pm, Ronald Tse notifications@github.com wrote:

@PeterParslow https://github.com/PeterParslow bad wording on my part. It has been "re-inserted" (commit: 842920a https://github.com/ISO-TC211/schemas/commit/842920a533e7b8ddd8a95c95a6a3bb6f373f6ace) 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/ 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...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ISO-TC211/schemas/issues/26#issuecomment-604857008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBGJZ6GZPULAERHBJRSFRTRJRJLTANCNFSM4LGDNWWQ.

ejbleys commented 4 years ago

Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 ejbleys@gmail.com Skype ejbleijs@gmail.com