ISO-TC211 / XML

XML schema, transforms, schematron rules, and examples for ISO TC211 Metadata Standards
46 stars 26 forks source link

Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" #217

Open MartinePaepen opened 3 years ago

MartinePaepen commented 3 years ago

At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. Validation was always possible however now some links are broken. How can we update our metadata files using the currently applicable xsd schema's?

Attached you can find an example that doesn't validate any more. example INSPIRE file.txt

The validation error is: The schemas referenced by attribute 'xsi:schemaLocation' at element are not valid. Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd' referenced by definition does not refer to a valid schema document. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / title Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. Neither an element declaration nor a type definition is known for element <link>. Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <link>. Strict assessment failed. Neither an element declaration nor a type definition is known for element <link>. Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <link>. Strict assessment failed. Neither an element declaration nor a type definition is known for element <meta>. Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <meta>. Strict assessment failed. Neither an element declaration nor a type definition is known for element <meta>. Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <meta>. Strict assessment failed. ....... ...... .... src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type Details src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Your location for schemas seems correct</p> <p><?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>" xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gmx="<a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a>" xmlns:gss="<a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a>" version="0.1" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"></p> <!-- ================================= Annotation ================================ --> <pre><code><xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/></code></pre> <p></xs:schema></p> <p>It appears that the namespace for gmi is <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a> I substituted the above for <a href="http://www.isotc211.org/2005/gmi">http://www.isotc211.org/2005/gmi</a> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) </p> <p>Cheers e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: <strong><em>@</em></strong>.<strong><em> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: </em></strong>@<strong><em>.</em></strong></p> <blockquote> <p>On 2021-05-05, at 3:02 am, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p>At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. Validation was always possible however now some links are broken. How can we update our metadata files using the currently applicable xsd schema's?</p> <p>Attached you can find an example that doesn't validate any more. example INSPIRE file.txt <a href="https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt">https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt</a> The validation error is: The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. Document '<a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd</a> <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd</a>' referenced by xs:import definition does not refer to a valid schema document. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / title Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. Neither an element declaration nor a type definition is known for element . Strict assessment failed. Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta Details cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. ....... ...... .... src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <a href="https://github.com/type">https://github.com/type</a> Details src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors.</p> <p>— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <a href="https://github.com/ISO-TC211/XML/issues/217">https://github.com/ISO-TC211/XML/issues/217</a>, or unsubscribe <a href="https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA">https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA</a>.</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Apologies It appears that the substitution LE_ClassName for LI_ClassName fails Interesting - didn’t fail first round - I will investigate</p> <p>E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: <strong><em>@</em></strong>.<strong><em> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: </em></strong>@<strong><em>.</em></strong></p> <blockquote> <p>On 2021-05-05, at 2:27 pm, Evert J Bleys <strong><em>@</em></strong>.***> wrote:</p> <p>Your location for schemas seems correct</p> <p><?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a> <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>" xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a> <a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a> <a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gmx="<a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a> <a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a>" xmlns:gss="<a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a> <a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a>" version="0.1" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a> <a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"></p> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd>" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd <https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco>" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd <https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss>" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd <https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx>" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd <https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd>"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> It appears that the namespace for gmi is http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0> I substituted the above for http://www.isotc211.org/2005/gmi <http://www.isotc211.org/2005/gmi> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) Cheers e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ***@***.*** ***@***.***> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ***@***.*** ***@***.***> > On 2021-05-05, at 3:02 am, MartinePaepen ***@***.*** ***@***.***>> wrote: > > > At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. > Validation was always possible however now some links are broken. > How can we update our metadata files using the currently applicable xsd schema's? > > Attached you can find an example that doesn't validate any more. > example INSPIRE file.txt <https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt> > The validation error is: > The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. > Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd>' referenced by xs:import definition does not refer to a valid schema document. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / title > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > ....... > ...... > .... > src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. > 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. > Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <https://github.com/type> > Details > src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. > Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors. > > — > 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/XML/issues/217>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA>. > </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Retract Does work e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: <strong><em>@</em></strong>.<strong><em> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: </em></strong>@<strong><em>.</em></strong></p> <blockquote> <p>On 2021-05-05, at 2:43 pm, Evert J Bleys <strong><em>@</em></strong>.***> wrote:</p> <p>Apologies It appears that the substitution LE_ClassName for LI_ClassName fails Interesting - didn’t fail first round - I will investigate</p> <p>E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: <strong><em>@</em></strong>.<strong><em> </em></strong>@<strong><em>.</em></strong>> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: <strong><em>@</em></strong>.<strong><em> </em></strong>@<strong><em>.</em></strong>></p> <blockquote> <p>On 2021-05-05, at 2:27 pm, Evert J Bleys <strong><em>@</em></strong>.<strong><em> </em></strong>@<strong><em>.</em></strong>>> wrote:</p> <p>Your location for schemas seems correct</p> <p><?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a> <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>" xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a> <a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a> <a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gmx="<a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a> <a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a>" xmlns:gss="<a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a> <a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a>" version="0.1" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a> <a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"></p> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd>" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd <https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco>" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd <https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss>" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd <https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd>"/> <xs:import namespace="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx>" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd <https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd>"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> It appears that the namespace for gmi is http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0> I substituted the above for http://www.isotc211.org/2005/gmi <http://www.isotc211.org/2005/gmi> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) Cheers e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ***@***.*** ***@***.***> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ***@***.*** ***@***.***> > On 2021-05-05, at 3:02 am, MartinePaepen ***@***.*** ***@***.***>> wrote: > > > At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. > Validation was always possible however now some links are broken. > How can we update our metadata files using the currently applicable xsd schema's? > > Attached you can find an example that doesn't validate any more. > example INSPIRE file.txt <https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt> > The validation error is: > The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. > Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd>' referenced by xs:import definition does not refer to a valid schema document. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / title > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Neither an element declaration nor a type definition is known for element . Strict assessment failed. > Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta > Details > cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. > ....... > ...... > .... > src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. > 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. > Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <https://github.com/type> > Details > src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. > Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors. > > — > 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/XML/issues/217>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA>. > </blockquote> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Dearn Evert,</p> <p>Thanks for the feedback. However I have replaced the schema: gmi:MI_Metadata xsi:schemaLocation="<a href="http://www.isotc211.org/2005/gmi">http://www.isotc211.org/2005/gmi</a> <a href="http://www.isotc211.org/2005/gmi/gmi.xsd">http://www.isotc211.org/2005/gmi/gmi.xsd</a>" xmlns:gmi="<a href="http://www.isotc211.org/2005/gmi">http://www.isotc211.org/2005/gmi</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gts="<a href="http://www.isotc211.org/2005/gts">http://www.isotc211.org/2005/gts</a>" xmlns:gml="<a href="http://www.opengis.net/gml/3.2">http://www.opengis.net/gml/3.2</a>" xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"></p> <gmd:language> <gmi:MI_Metadata xsi:schemaLocation="http://standards.iso.org/iso/19115/-2/gmi/1.0 http://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd" xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> And the validation error is still: [Altova XMLSpy - [INSPIRE (4).txt *]] So there seems to be a redirect to the schema's which doesn't exist anymore. Could you please check? Many thanks, Martine From: ejbleys ***@***.***> Sent: Wednesday, 5 May 2021 06:44 To: ISO-TC211/XML ***@***.***> Cc: Paepen Martine ***@***.***>; Author ***@***.***> Subject: Re: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Retract Does work e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ***@***.***<mailto:***@***.***> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ***@***.***<mailto:***@***.***> > On 2021-05-05, at 2:43 pm, Evert J Bleys ***@***.***<mailto:***@***.***>> wrote: > > Apologies > It appears that the substitution LE_ClassName for LI_ClassName fails > Interesting - didn't fail first round - I will investigate > > E > Evert Bleys > 4 Tudor Place > HUGHES ACT 2605 > Australia > email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > Mob: +61 (0)411 483 876 > Land: +61 (0)2 6281 1773 > Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > > > > >> On 2021-05-05, at 2:27 pm, Evert J Bleys ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >> >> Your location for schemas seems correct >> >> <?xml version="1.0" encoding="utf-8"?> >> <xs:schema elementFormDefault="qualified" >> targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0><http://standards.iso.org/iso/19115/-2/gmi/1.0%20%3chttp:/standards.iso.org/iso/19115/-2/gmi/1.0%3e>" >> xmlns:gco="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" >> xmlns:gmd="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" >> xmlns:gmx="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" >> xmlns:gss="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" >> version="0.1" >> xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema><http://www.w3.org/2001/XMLSchema%20%3chttp:/www.w3.org/2001/XMLSchema%3e>"> >> <!-- ================================= Annotation ================================ --> >> <xs:annotation> >> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> >> </xs:annotation> >> <!-- ================================== Imports ================================== --> >> <xs:import namespace="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" schemaLocation="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%20%3chttps:/schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd <https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd><https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd <https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd><https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd <https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd><https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%3e>"/> >> <xs:include schemaLocation="metadataEntitySet.xsd"/> >> <xs:include schemaLocation="contentInformation.xsd"/> >> <xs:include schemaLocation="dataQualityInformation.xsd"/> >> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> >> </xs:schema> >> >> It appears that the namespace for gmi is http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0> >> I substituted the above for http://www.isotc211.org/2005/gmi <http://www.isotc211.org/2005/gmi> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) >> >> Cheers >> e >> Evert Bleys >> 4 Tudor Place >> HUGHES ACT 2605 >> Australia >> email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> Mob: +61 (0)411 483 876 >> Land: +61 (0)2 6281 1773 >> Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> >> >> >> >>> On 2021-05-05, at 3:02 am, MartinePaepen ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >>> >>> >>> At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. >>> Validation was always possible however now some links are broken. >>> How can we update our metadata files using the currently applicable xsd schema's? >>> >>> Attached you can find an example that doesn't validate any more. >>> example INSPIRE file.txt <https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt> >>> The validation error is: >>> The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. >>> Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd>' referenced by xs:import definition does not refer to a valid schema document. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / title >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> ....... >>> ...... >>> .... >>> src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. >>> 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. >>> Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <https://github.com/type> >>> Details >>> src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. >>> Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors. >>> >>> - >>> 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/XML/issues/217>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA>. >>> >> > - You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FISO-TC211%2FXML%2Fissues%2F217%23issuecomment-832407236&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603352307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=brmf3%2FtGRvaHQGho5pGIAfO7WZqbGeo2bUn1daceXw8%3D&reserved=0>, or unsubscribe<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANLMHWFZ7SXPRODGPY2F7LTTMDEKBANCNFSM44DCZSXA&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603362301%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W6W10ZnAJlja4pVSHied6iQ6yeexXpz%2BY5Br6dyVe8I%3D&reserved=0>. VITO Disclaimer: http://www.vito.be/e-maildisclaimer </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Dear Evert,</p> <p>As you can see in the <a href="https://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd">https://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd</a> This XML file does not appear to have any style information associated with it. The document tree is shown below.</p> <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> They refer to http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd Which don't exist. Kind regards, Martine </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Dear Evert,</p> <p>I get always the same errors because of unexisting <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd</a>"/<a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/</a>></p> <p>Taking <a href="https://www.isotc211.org/2005/gmi/gmi.xsd">https://www.isotc211.org/2005/gmi/gmi.xsd</a> This XML file does not appear to have any style information associated with it. The document tree is shown below.</p> <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:37 ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:include schemaLocation="../gmi/metadataEntitySet.xsd"/> <xs:include schemaLocation="../gmi/acquisitionInformation.xsd"/> <xs:include schemaLocation="../gmi/dataQualityInformation.xsd"/> <xs:include schemaLocation="../gmi/spatialRepresentationInformation.xsd"/> <xs:include schemaLocation="../gmi/contentInformation.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> </xs:schema> https://www.isotc211.org/2005/gmi/acquisitionInformation.xsd This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gmd="http://www.isotc211.org/2005/gmd" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:36 ====== </xs:documentation> <xs:documentation>2012-12-08: Documentation of MI_Objective_Type. Typo reported by XMG: "temportal" replaced by "temporal".</xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> <xs:complexType name="MI_Requirement_Type"> <xs:annotation> <xs:documentation>Description: requirement to be satisfied by the planned data acquisition - shortName: Requirement</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="citation" type="gmd:CI_Citation_PropertyType" minOccurs="0"/> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType"/> <xs:element name="requestor" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="recipient" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gmi:MI_PriorityCode_PropertyType"/> <xs:element name="requestedDate" type="gmi:MI_RequestedDate_PropertyType"/> <xs:element name="expiryDate" type="gco:DateTime_PropertyType"/> <xs:element name="satisifiedPlan" type="gmi:MI_Plan_PropertyType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- ........................................................................ --> <xs:element name="MI_Requirement" type="gmi:MI_Requirement_Type"/> <!-- ........................................................................ --> <xs:complexType name="MI_Requirement_PropertyType"> <xs:sequence> <xs:element ref="gmi:MI_Requirement" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="gco:ObjectReference"/> <xs:attribute ref="gco:nilReason"/> </xs:complexType> <!-- =========================================================================== --> <xs:complexType name="MI_Objective_Type"> <xs:annotation> <xs:documentation>Description: Describes the characteristics, spatial and temporal extent of the intended object to be observed - shortName: TargetId</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gco:CharacterString_PropertyType" minOccurs="0"/> <xs:element name="type" type="gmi:MI_ObjectiveTypeCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="function" type="gco:CharacterString_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="extent" type="gmd:EX_Extent_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="pass" type="gmi:MI_PlatformPass_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="sensingInstrument" type="gmi:MI_Instrume </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>There seems to be an issue with: <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a></p> <p>The targetNamespace is still: targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>"</p> <p>==> this generates anerror while validating / <strong>Shouldn't it be ==> <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0">https://schemas.isotc211.org/19115/-2/gmi/1.0</a></strong></p> <p><xs:schema xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gmx="<a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a>" xmlns:gss="<a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a>" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified" <strong>targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a></strong>" version="0.1"></p> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>It works when using: xsi:schemaLocation="<a href="http://www.isotc211.org/2005/gmi">http://www.isotc211.org/2005/gmi</a> <a href="http://www.isotc211.org/2005/gmi/gmi.xsd">http://www.isotc211.org/2005/gmi/gmi.xsd</a> <strong>However which is the recommended xsd to be used for MI_metadata</strong>? <a href="http://www.isotc211.org/2005/gmi/gmi.xsd">http://www.isotc211.org/2005/gmi/gmi.xsd</a> or <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Hi The location for the schemas should be <a href="https://schemas.isotc211.org/">https://schemas.isotc211.org/</a>... I’m doing this on my phone so I might have misunderstood E</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <p>On 6 May 2021, at 20:10, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p> Dear Evert,</p> <p>I get always the same errors because of unexisting <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd</a>"/<a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/</a>></p> <p>Taking <a href="https://www.isotc211.org/2005/gmi/gmi.xsd">https://www.isotc211.org/2005/gmi/gmi.xsd</a> This XML file does not appear to have any style information associated with it. The document tree is shown below.</p> <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:37 ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:include schemaLocation="../gmi/metadataEntitySet.xsd"/> <xs:include schemaLocation="../gmi/acquisitionInformation.xsd"/> <xs:include schemaLocation="../gmi/dataQualityInformation.xsd"/> <xs:include schemaLocation="../gmi/spatialRepresentationInformation.xsd"/> <xs:include schemaLocation="../gmi/contentInformation.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> </xs:schema> https://www.isotc211.org/2005/gmi/acquisitionInformation.xsd This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gmd="http://www.isotc211.org/2005/gmd" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:36 ====== </xs:documentation> <xs:documentation>2012-12-08: Documentation of MI_Objective_Type. Typo reported by XMG: "temportal" replaced by "temporal".</xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> <xs:complexType name="MI_Requirement_Type"> <xs:annotation> <xs:documentation>Description: requirement to be satisfied by the planned data acquisition - shortName: Requirement</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="citation" type="gmd:CI_Citation_PropertyType" minOccurs="0"/> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType"/> <xs:element name="requestor" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="recipient" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gmi:MI_PriorityCode_PropertyType"/> <xs:element name="requestedDate" type="gmi:MI_RequestedDate_PropertyType"/> <xs:element name="expiryDate" type="gco:DateTime_PropertyType"/> <xs:element name="satisifiedPlan" type="gmi:MI_Plan_PropertyType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- ........................................................................ --> <xs:element name="MI_Requirement" type="gmi:MI_Requirement_Type"/> <!-- ........................................................................ --> <xs:complexType name="MI_Requirement_PropertyType"> <xs:sequence> <xs:element ref="gmi:MI_Requirement" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="gco:ObjectReference"/> <xs:attribute ref="gco:nilReason"/> </xs:complexType> <!-- =========================================================================== --> <xs:complexType name="MI_Objective_Type"> <xs:annotation> <xs:documentation>Description: Describes the characteristics, spatial and temporal extent of the intended object to be observed - shortName: TargetId</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gco:CharacterString_PropertyType" minOccurs="0"/> <xs:element name="type" type="gmi:MI_ObjectiveTypeCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="function" type="gco:CharacterString_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="extent" type="gmd:EX_Extent_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="pass" type="gmi:MI_PlatformPass_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="sensingInstrument" type="gmi:MI_Instrume From: Paepen Martine Sent: Thursday, 6 May 2021 12:03 To: ISO-TC211/XML ***@***.***>; ISO-TC211/XML ***@***.***> Cc: Author ***@***.***> Subject: RE: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Dear Evert, As you can see in the https://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> They refer to http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd Which don't exist. Kind regards, Martine From: Paepen Martine Sent: Thursday, 6 May 2021 10:42 To: 'ISO-TC211/XML' ***@***.******@***.***>>; ISO-TC211/XML ***@***.******@***.***>> Cc: Author ***@***.******@***.***>> Subject: RE: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Dearn Evert, Thanks for the feedback. However I have replaced the schema: gmi:MI_Metadata xsi:schemaLocation="http://www.isotc211.org/2005/gmi http://www.isotc211.org/2005/gmi/gmi.xsd<http://www.isotc211.org/2005/gmi%20http:/www.isotc211.org/2005/gmi/gmi.xsd>" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <gmd:language> <gmi:MI_Metadata xsi:schemaLocation="http://standards.iso.org/iso/19115/-2/gmi/1.0 http://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd<http://standards.iso.org/iso/19115/-2/gmi/1.0%20http:/standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd>" xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> And the validation error is still: [Altova XMLSpy - [INSPIRE (4).txt *]] So there seems to be a redirect to the schema's which doesn't exist anymore. Could you please check? Many thanks, Martine From: ejbleys ***@***.******@***.***>> Sent: Wednesday, 5 May 2021 06:44 To: ISO-TC211/XML ***@***.******@***.***>> Cc: Paepen Martine ***@***.******@***.***>>; Author ***@***.******@***.***>> Subject: Re: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Retract Does work e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ***@***.***<mailto:***@***.***> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ***@***.***<mailto:***@***.***> > On 2021-05-05, at 2:43 pm, Evert J Bleys ***@***.***<mailto:***@***.***>> wrote: > > Apologies > It appears that the substitution LE_ClassName for LI_ClassName fails > Interesting - didn't fail first round - I will investigate > > E > Evert Bleys > 4 Tudor Place > HUGHES ACT 2605 > Australia > email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > Mob: +61 (0)411 483 876 > Land: +61 (0)2 6281 1773 > Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > > > > >> On 2021-05-05, at 2:27 pm, Evert J Bleys ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >> >> Your location for schemas seems correct >> >> <?xml version="1.0" encoding="utf-8"?> >> <xs:schema elementFormDefault="qualified" >> targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0><http://standards.iso.org/iso/19115/-2/gmi/1.0%20%3chttp:/standards.iso.org/iso/19115/-2/gmi/1.0%3e>" >> xmlns:gco="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" >> xmlns:gmd="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" >> xmlns:gmx="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" >> xmlns:gss="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" >> version="0.1" >> xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema><http://www.w3.org/2001/XMLSchema%20%3chttp:/www.w3.org/2001/XMLSchema%3e>"> >> <!-- ================================= Annotation ================================ --> >> <xs:annotation> >> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> >> </xs:annotation> >> <!-- ================================== Imports ================================== --> >> <xs:import namespace="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" schemaLocation="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%20%3chttps:/schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd <https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd><https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd <https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd><https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd <https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd><https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%3e>"/> >> <xs:include schemaLocation="metadataEntitySet.xsd"/> >> <xs:include schemaLocation="contentInformation.xsd"/> >> <xs:include schemaLocation="dataQualityInformation.xsd"/> >> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> >> </xs:schema> >> >> It appears that the namespace for gmi is http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0> >> I substituted the above for http://www.isotc211.org/2005/gmi <http://www.isotc211.org/2005/gmi> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) >> >> Cheers >> e >> Evert Bleys >> 4 Tudor Place >> HUGHES ACT 2605 >> Australia >> email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> Mob: +61 (0)411 483 876 >> Land: +61 (0)2 6281 1773 >> Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> >> >> >> >>> On 2021-05-05, at 3:02 am, MartinePaepen ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >>> >>> >>> At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. >>> Validation was always possible however now some links are broken. >>> How can we update our metadata files using the currently applicable xsd schema's? >>> >>> Attached you can find an example that doesn't validate any more. >>> example INSPIRE file.txt <https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt> >>> The validation error is: >>> The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. >>> Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd>' referenced by xs:import definition does not refer to a valid schema document. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / title >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> ....... >>> ...... >>> .... >>> src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. >>> 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. >>> Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <https://github.com/type> >>> Details >>> src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. >>> Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors. >>> >>> - >>> 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/XML/issues/217>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA>. >>> >> > - You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FISO-TC211%2FXML%2Fissues%2F217%23issuecomment-832407236&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603352307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=brmf3%2FtGRvaHQGho5pGIAfO7WZqbGeo2bUn1daceXw8%3D&reserved=0>, or unsubscribe<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANLMHWFZ7SXPRODGPY2F7LTTMDEKBANCNFSM44DCZSXA&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603362301%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W6W10ZnAJlja4pVSHied6iQ6yeexXpz%2BY5Br6dyVe8I%3D&reserved=0>. VITO Disclaimer: http://www.vito.be/e-maildisclaimer — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Not 100% sure if the namespace URI is <a href="http://standards">http://standards</a>... but I am sure it is not <a href="https://schemas">https://schemas</a>... E</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <p>On 7 May 2021, at 06:53, Evert J Bleys <strong><em>@</em></strong>.***> wrote:</p> <p>Hi The location for the schemas should be <a href="https://schemas.isotc211.org/">https://schemas.isotc211.org/</a>... I’m doing this on my phone so I might have misunderstood E</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <blockquote> <p>On 6 May 2021, at 20:10, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p> Dear Evert,</p> </blockquote> <p>I get always the same errors because of unexisting <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd</a>"/<a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/">http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/.......xsd%22/</a>></p> <p>Taking <a href="https://www.isotc211.org/2005/gmi/gmi.xsd">https://www.isotc211.org/2005/gmi/gmi.xsd</a> This XML file does not appear to have any style information associated with it. The document tree is shown below.</p> <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:37 ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:include schemaLocation="../gmi/metadataEntitySet.xsd"/> <xs:include schemaLocation="../gmi/acquisitionInformation.xsd"/> <xs:include schemaLocation="../gmi/dataQualityInformation.xsd"/> <xs:include schemaLocation="../gmi/spatialRepresentationInformation.xsd"/> <xs:include schemaLocation="../gmi/contentInformation.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> </xs:schema> https://www.isotc211.org/2005/gmi/acquisitionInformation.xsd This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gmd="http://www.isotc211.org/2005/gmd" targetNamespace="http://www.isotc211.org/2005/gmi" elementFormDefault="qualified" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 07-30-2010 11:34:36 ====== </xs:documentation> <xs:documentation>2012-12-08: Documentation of MI_Objective_Type. Typo reported by XMG: "temportal" replaced by "temporal".</xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> <xs:complexType name="MI_Requirement_Type"> <xs:annotation> <xs:documentation>Description: requirement to be satisfied by the planned data acquisition - shortName: Requirement</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="citation" type="gmd:CI_Citation_PropertyType" minOccurs="0"/> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType"/> <xs:element name="requestor" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="recipient" type="gmd:CI_ResponsibleParty_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gmi:MI_PriorityCode_PropertyType"/> <xs:element name="requestedDate" type="gmi:MI_RequestedDate_PropertyType"/> <xs:element name="expiryDate" type="gco:DateTime_PropertyType"/> <xs:element name="satisifiedPlan" type="gmi:MI_Plan_PropertyType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- ........................................................................ --> <xs:element name="MI_Requirement" type="gmi:MI_Requirement_Type"/> <!-- ........................................................................ --> <xs:complexType name="MI_Requirement_PropertyType"> <xs:sequence> <xs:element ref="gmi:MI_Requirement" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="gco:ObjectReference"/> <xs:attribute ref="gco:nilReason"/> </xs:complexType> <!-- =========================================================================== --> <xs:complexType name="MI_Objective_Type"> <xs:annotation> <xs:documentation>Description: Describes the characteristics, spatial and temporal extent of the intended object to be observed - shortName: TargetId</xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="gco:AbstractObject_Type"> <xs:sequence> <xs:element name="identifier" type="gmd:MD_Identifier_PropertyType" maxOccurs="unbounded"/> <xs:element name="priority" type="gco:CharacterString_PropertyType" minOccurs="0"/> <xs:element name="type" type="gmi:MI_ObjectiveTypeCode_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="function" type="gco:CharacterString_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="extent" type="gmd:EX_Extent_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="pass" type="gmi:MI_PlatformPass_PropertyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="sensingInstrument" type="gmi:MI_Instrume From: Paepen Martine Sent: Thursday, 6 May 2021 12:03 To: ISO-TC211/XML ***@***.***>; ISO-TC211/XML ***@***.***> Cc: Author ***@***.***> Subject: RE: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Dear Evert, As you can see in the https://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd This XML file does not appear to have any style information associated with it. The document tree is shown below. <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0" version="0.1"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> </xs:annotation> <!-- ================================== Imports ================================== --> <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gco/gco.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gss" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gss/gss.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gmx" schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmx/gmx.xsd"/> <xs:include schemaLocation="metadataEntitySet.xsd"/> <xs:include schemaLocation="contentInformation.xsd"/> <xs:include schemaLocation="dataQualityInformation.xsd"/> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> </xs:schema> They refer to http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd Which don't exist. Kind regards, Martine From: Paepen Martine Sent: Thursday, 6 May 2021 10:42 To: 'ISO-TC211/XML' ***@***.******@***.***>>; ISO-TC211/XML ***@***.******@***.***>> Cc: Author ***@***.******@***.***>> Subject: RE: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Dearn Evert, Thanks for the feedback. However I have replaced the schema: gmi:MI_Metadata xsi:schemaLocation="http://www.isotc211.org/2005/gmi http://www.isotc211.org/2005/gmi/gmi.xsd<http://www.isotc211.org/2005/gmi%20http:/www.isotc211.org/2005/gmi/gmi.xsd>" xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <gmd:language> <gmi:MI_Metadata xsi:schemaLocation="http://standards.iso.org/iso/19115/-2/gmi/1.0 http://standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd<http://standards.iso.org/iso/19115/-2/gmi/1.0%20http:/standards.iso.org/iso/19115/-2/gmi/1.0/gmi.xsd>" xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> And the validation error is still: [Altova XMLSpy - [INSPIRE (4).txt *]] So there seems to be a redirect to the schema's which doesn't exist anymore. Could you please check? Many thanks, Martine From: ejbleys ***@***.******@***.***>> Sent: Wednesday, 5 May 2021 06:44 To: ISO-TC211/XML ***@***.******@***.***>> Cc: Paepen Martine ***@***.******@***.***>>; Author ***@***.******@***.***>> Subject: Re: [ISO-TC211/XML] Issue with validating ISO 19115-2 MI_Metadata due to removed schemaLocation="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd" (#217) Retract Does work e Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia email: ***@***.***<mailto:***@***.***> Mob: +61 (0)411 483 876 Land: +61 (0)2 6281 1773 Skype: ***@***.***<mailto:***@***.***> > On 2021-05-05, at 2:43 pm, Evert J Bleys ***@***.***<mailto:***@***.***>> wrote: > > Apologies > It appears that the substitution LE_ClassName for LI_ClassName fails > Interesting - didn't fail first round - I will investigate > > E > Evert Bleys > 4 Tudor Place > HUGHES ACT 2605 > Australia > email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > Mob: +61 (0)411 483 876 > Land: +61 (0)2 6281 1773 > Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> > > > > >> On 2021-05-05, at 2:27 pm, Evert J Bleys ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >> >> Your location for schemas seems correct >> >> <?xml version="1.0" encoding="utf-8"?> >> <xs:schema elementFormDefault="qualified" >> targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0><http://standards.iso.org/iso/19115/-2/gmi/1.0%20%3chttp:/standards.iso.org/iso/19115/-2/gmi/1.0%3e>" >> xmlns:gco="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" >> xmlns:gmd="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" >> xmlns:gmx="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" >> xmlns:gss="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" >> version="0.1" >> xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema><http://www.w3.org/2001/XMLSchema%20%3chttp:/www.w3.org/2001/XMLSchema%3e>"> >> <!-- ================================= Annotation ================================ --> >> <xs:annotation> >> <xs:documentation>This file was created by Ted Habermann during May 2015 to correct omissions (gmx, MI_EnvironmentalRecord) in existing gmi schema ====== </xs:documentation> >> </xs:annotation> >> <!-- ================================== Imports ================================== --> >> <xs:import namespace="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd><http://www.isotc211.org/2005/gmd%20%3chttp:/www.isotc211.org/2005/gmd%3e>" schemaLocation="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%20%3chttps:/schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco><http://www.isotc211.org/2005/gco%20%3chttp:/www.isotc211.org/2005/gco%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd <https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd><https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gco/1.0/gco.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss><http://www.isotc211.org/2005/gss%20%3chttp:/www.isotc211.org/2005/gss%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd <https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd><https://schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gss/1.0/gss.xsd%3e>"/> >> <xs:import namespace="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx><http://www.isotc211.org/2005/gmx%20%3chttp:/www.isotc211.org/2005/gmx%3e>" schemaLocation="https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd <https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd><https://schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%20%3chttps:/schemas.isotc211.org/19139/-/gmx/1.0/gmx.xsd%3e>"/> >> <xs:include schemaLocation="metadataEntitySet.xsd"/> >> <xs:include schemaLocation="contentInformation.xsd"/> >> <xs:include schemaLocation="dataQualityInformation.xsd"/> >> <xs:include schemaLocation="spatialRepresentationInformation.xsd"/> >> </xs:schema> >> >> It appears that the namespace for gmi is http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0> >> I substituted the above for http://www.isotc211.org/2005/gmi <http://www.isotc211.org/2005/gmi> in xmlns:gmi and in namespace component of xsi:schemaLocation - file then validated (in oXygen) >> >> Cheers >> e >> Evert Bleys >> 4 Tudor Place >> HUGHES ACT 2605 >> Australia >> email: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> Mob: +61 (0)411 483 876 >> Land: +61 (0)2 6281 1773 >> Skype: ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>> >> >> >> >> >>> On 2021-05-05, at 3:02 am, MartinePaepen ***@***.***<mailto:***@***.***> ***@***.***<mailto:***@***.***>>> wrote: >>> >>> >>> At VITO we have generated INSPIRE metadata files wrt the ISO 19115-2 gmi metadata. >>> Validation was always possible however now some links are broken. >>> How can we update our metadata files using the currently applicable xsd schema's? >>> >>> Attached you can find an example that doesn't validate any more. >>> example INSPIRE file.txt <https://github.com/ISO-TC211/XML/files/6422713/example.INSPIRE.file.txt> >>> The validation error is: >>> The schemas referenced by attribute 'xsi:schemaLocation' at element gmi:MI_Metadata are not valid. >>> Document 'http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd <http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/gmd/gmd.xsd>' referenced by xs:import definition does not refer to a valid schema document. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / title >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element <title>. Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> Error location: html / head / meta / meta / meta / meta / meta / link / link / meta / meta >>> Details >>> cvc-assess-elt.1: Neither an element declaration nor a type definition is known for element . Strict assessment failed. >>> ....... >>> ...... >>> .... >>> src-resolve: Value 'gco:AbstractObject_Type' of attribute 'base' doesn't resolve to a type definition. >>> 'gmd:CI_Citation_PropertyType' must refer to an existing simple or complex type. >>> Error location: xs:schema / xs:complexType / xs:complexContent / xs:extension / xs:sequence / xs:element / @type <https://github.com/type> >>> Details >>> src-resolve: Value 'gmd:CI_Citation_PropertyType' of attribute 'type' doesn't resolve to a type definition. >>> Processing was aborted after reporting 100 error(s). Please increase the error limit to report additional errors. >>> >>> - >>> 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/XML/issues/217>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ72ONLDV36DQJOLVZ3TMASEBANCNFSM44DCZSXA>. >>> >> > - You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FISO-TC211%2FXML%2Fissues%2F217%23issuecomment-832407236&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603352307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=brmf3%2FtGRvaHQGho5pGIAfO7WZqbGeo2bUn1daceXw8%3D&reserved=0>, or unsubscribe<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANLMHWFZ7SXPRODGPY2F7LTTMDEKBANCNFSM44DCZSXA&data=04%7C01%7C%7C746aa219d9544ee0807208d90f807175%7C9e2777ed82374ab992782c144d6f6da3%7C0%7C0%7C637557866603362301%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W6W10ZnAJlja4pVSHied6iQ6yeexXpz%2BY5Br6dyVe8I%3D&reserved=0>. VITO Disclaimer: http://www.vito.be/e-maildisclaimer — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. </blockquote> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Use <a href="https://schemas">https://schemas</a>...</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <p>On 7 May 2021, at 01:02, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p> It works when using: xsi:schemaLocation="<a href="http://www.isotc211.org/2005/gmi">http://www.isotc211.org/2005/gmi</a> <a href="http://www.isotc211.org/2005/gmi/gmi.xsd">http://www.isotc211.org/2005/gmi/gmi.xsd</a> However which is the recommended xsd to be used for MI_metadata? <a href="http://www.isotc211.org/2005/gmi/gmi.xsd">http://www.isotc211.org/2005/gmi/gmi.xsd</a> or <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a></p> <p>— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>There seems to be an issue with: <a href="https://**schemas.isotc211.org**/19115/-2/gmi/1.0/gmi.xsd">https://**schemas.isotc211.org**/19115/-2/gmi/1.0/gmi.xsd</a></p> <p>The targetNamespace in teh xsd is still: targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>"</p> <p>==> this gives an error while validating / Shouldn't it be ==> <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0">https://schemas.isotc211.org/19115/-2/gmi/1.0</a></p> <p><xs:schema xmlns:gco="<a href="http://www.isotc211.org/2005/gco">http://www.isotc211.org/2005/gco</a>" xmlns:gmd="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" xmlns:gmx="<a href="http://www.isotc211.org/2005/gmx">http://www.isotc211.org/2005/gmx</a>" xmlns:gss="<a href="http://www.isotc211.org/2005/gss">http://www.isotc211.org/2005/gss</a>" xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" elementFormDefault="qualified" <strong>targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>" version="0.1"></strong></p> <p>Thanks for your effort, Martine</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>In XSDs, targetNamespace indicate the URI for the namespace not the location, the location would be <a href="https://schemas">https://schemas</a> <a href="https://schemas/">https://schemas/</a>… E Evert Bleys 4 Tudor Place HUGHES ACT 2605 Australia +61 (0)2 62811773 +61 (0)411 483 876 <strong><em>@</em></strong>.<strong><em> Skype </em></strong>@<strong><em>.</em></strong></p> <blockquote> <p>On 2021-05-07, at 4:16 pm, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p>There seems to be an issue with: <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a></p> <p>The targetNamespace in teh xsd is still: targetNamespace="<a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a> <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a>"</p> <p>==> this gives an error while validating / Shouldn't it be ==> <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0">https://schemas.isotc211.org/19115/-2/gmi/1.0</a> <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0">https://schemas.isotc211.org/19115/-2/gmi/1.0</a></p> <xs:schema xmlns:gco="http://www.isotc211.org/2005/gco <http://www.isotc211.org/2005/gco>" xmlns:gmd="http://www.isotc211.org/2005/gmd <http://www.isotc211.org/2005/gmd>" xmlns:gmx="http://www.isotc211.org/2005/gmx <http://www.isotc211.org/2005/gmx>" xmlns:gss="http://www.isotc211.org/2005/gss <http://www.isotc211.org/2005/gss>" xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema>" elementFormDefault="qualified" targetNamespace="http://standards.iso.org/iso/19115/-2/gmi/1.0 <http://standards.iso.org/iso/19115/-2/gmi/1.0>" version="0.1"> — You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/ISO-TC211/XML/issues/217#issuecomment-834098224>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIBGJZ65BVBHZHAT4SRQWULTMOAUDANCNFSM44DCZSXA>. </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Yes, I understand the namespace usage but why isn't it <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> which would be in line with the other namespaces in the xsd? (exapmle <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd"/> .....)</p> <p>It is very confusing because for the namespace <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> there is also an xsd ( <a href="https://www.isotc211.org/2005/gmi/gmi.xsd">https://www.isotc211.org/2005/gmi/gmi.xsd</a> ) which can be used and works fine for me.</p> <p>AND if I compare with for example GMD metadata, I see: Namespace <a href="https://www.isotc211.org/2005/gmd/">https://www.isotc211.org/2005/gmd/</a> with xsd: <a href="https://www.isotc211.org/2005/gmd/gmd.xsd">https://www.isotc211.org/2005/gmd/gmd.xsd</a></p> <p>However in the gmi.xsd is referred to <a href="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd">https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd</a></p> <p>AND if I look in <a href="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd">https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd</a> , the targetnamespace is targetNamespace="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" Which seems OK but is different from the GMI.xsd targetNamespace.</p> <p>==> the problem is that my validation tool (XMLSPY) has problems with this GMI targetNamespace in the xsd which is not the namespace which I can use in the xml as I need to use Namespace <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>It was not a 2005 standard</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <p>On 7 May 2021, at 17:36, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p> Yes, I understand the namespace usage but why isn't it <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> which would be in line with the other namespaces in the xsd? (exapmle <xs:import namespace="http://www.isotc211.org/2005/gmd" schemaLocation="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd"/> <xs:import namespace="http://www.isotc211.org/2005/gco" schemaLocation="https://schemas.isotc211.org/19139/-/gco/1.0/gco.xsd"/> .....)</p> <p>It is very confusing because for the namespace <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> there is also an xsd ( <a href="https://www.isotc211.org/2005/gmi/gmi.xsd">https://www.isotc211.org/2005/gmi/gmi.xsd</a> ) which can be used and works fine for me.</p> <p>AND if I compare with for example GMD metadata, I see: Namespace <a href="https://www.isotc211.org/2005/gmd/">https://www.isotc211.org/2005/gmd/</a> with xsd: <a href="https://www.isotc211.org/2005/gmd/gmd.xsd">https://www.isotc211.org/2005/gmd/gmd.xsd</a></p> <p>However in the gmi.xsd is referred to <a href="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd">https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd</a></p> <p>AND if I look in <a href="https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd">https://schemas.isotc211.org/19139/-/gmd/1.0/gmd.xsd</a> , the targetnamespace is targetNamespace="<a href="http://www.isotc211.org/2005/gmd">http://www.isotc211.org/2005/gmd</a>" Which seems OK but is different from the GMI.xsd targetNamespace.</p> <p>==> the problem is that my validation tool (XMLSPY) has problems with this GMI targetNamespace in the xsd which is not the namespace which I can use in the xml as I need to use Namespace <a href="https://www.isotc211.org/2005/gmd/">https://www.isotc211.org/2005/gmd/</a></p> <p>— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MartinePaepen"><img src="https://avatars.githubusercontent.com/u/56017880?v=4" />MartinePaepen</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Ok, it might not be a 2005 standard. There is however a page <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> and even a mapping xsd. This makes things <strong>even more confusing.</strong></p> <p>The solution for my (and probably others') problem is the replacement of the targetNamespace in the schema <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a> ==> use targetNamespace <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> in stead of: <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a></p> <p>This would also make it more in line with the other schema's :-)</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ejbleys"><img src="https://avatars.githubusercontent.com/u/33711335?v=4" />ejbleys</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>The alternative would be to migrate to the newer versions of ISO 19115-1 & -2</p> <p>Evert Bleys 4 Tudor Place HUGHES ACT Australia Mob: 0411 483 876</p> <blockquote> <p>On 7 May 2021, at 19:18, MartinePaepen <strong><em>@</em></strong>.***> wrote:</p> <p> Ok, it might not be a 2005 standard. There is however a page <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> and even a mapping xsd. This makes things even more confusing.</p> <p>The solution for my (and probably others') problem is the replacement of the targetNamespace in the schema <a href="https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd">https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi.xsd</a> ==> use targetNamespace <a href="https://www.isotc211.org/2005/gmi/">https://www.isotc211.org/2005/gmi/</a> in stead of: <a href="http://standards.iso.org/iso/19115/-2/gmi/1.0">http://standards.iso.org/iso/19115/-2/gmi/1.0</a></p> <p>This would alos make it more inline with the other schema's :-)</p> <p>— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.</p> </blockquote> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>