ISO-TC211 / StandardsTracker

This GitHub repository lets you - our users - log and track issues that you find with our standards and other document. Tag the issue with the standard or standards effected; we will assign it to the relevant group(s) within TC 211.
11 stars 0 forks source link

ISO/TC 211/WG 6 - Issues identified in XML schemas to support ISO 19115-2 #235

Closed isotc211 closed 1 year ago

isotc211 commented 3 years ago

Justification: It has been brought forward by XMG that the xsd files as they associate to part 3, all four of the XSD files have miss-ordered elements, some worse than others Proposal: Discussion must occur or a decision made to reorder the xsds to fit the data dictionary, both for this standard and part 1

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

isotc211 commented 3 years ago

In ISO 19115 there are 4/many main areas where the ordering differs from the printed standard In ISO 19115-1 MD_Metadata there are two XML elements that differ: resourceScope (developed to replace hierarchy and heirarchyLevel) DataDictionary has it at the end whilst the XSD has it much earlier resourceLineage DataDictionary has it second from the end whilst the XSD has it a few elements earlier EX_VerticalExtent there are two XML elements that differ: verticalCRS DataDictionary has it second from the end whilst the XSD has it at the end verticalCRSId DataDictionary has it at the end whilst the XSD has it second from the end SV_CoupledResource resource DataDictionary has it second from the end whilst the XSD has it at the end operation DataDictionary has it at the end whilst the XSD has it second from the end In ISO19115-2 all four of the XSD files have miss-ordered elements, some worse than others

As for implementation issues, there are two concepts to consider. Easy now and hard later or the other way around. At each new edition of the standard implementors make a decision as to whether or not to move to the new material. The older versions of the XML schemas are (now) retained for users to continue to access if they have older material that can/should/will not be transformed into the newer version. Moving from ISO 19115 to ISO 19115-1 there were XSLt transformers generated that allowed the older XMLs that complied with the implementation developed in ISO 19139 to bridge the gap to ISO 19115-3. An update was undertaken to progress XSDs for ISO 19115-3 Revision1 to Revision2, but no transform was developed. The change from the current ISO 19115-3 to the proposed new ISO 19115-3 implementation (all XSDs in a 19115-3 directory -> material labeled with the origination standards) can take two paths. 1) minimal change - only change namespace URIs and schemaLocation Migrating older XML to new revision could be undertaken by relatively simple code (PERL, Python, C, etc) 2) realignment elements to data dictionary - change as above plus element order changes URIs and schemaLocation changes in XML as above PLUS a few additional scripts (XSLt would be the least efficient). The extra code could be developed in parallel to the URI and schemaLocation scripts. NOTE: XSLt solutions only work if the XML can be considered as files. Many systems store the attribute values in databases, and generate the XML only when exporting the material. In these cases the import is usually done using a order agnostic XSLt and the extract script should be readily adjustable. It is possible that this is why an XSLt for the Rev1 to Rev2 for XMLs was never published.

I believe that the decision is the responsibility of the ISO 19115-3 review project, but without multi-lateral support it would be disastrous.

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

wilkesg commented 1 year ago

Requires XMG review to check to see if this is still valid.

ejbleys commented 1 year ago

The review of ISO 19115-3 identified that the ordering is important and as such the latest schemas for SO 19115-1 & ISO 19115-2 have been built and will be released as: https://schemas.isotc211.org/19115/-1//1.3/.xsd and https://schemas.isotc211.org/19115/-2//2.2/.xsd The numbering is to align with the editions of the source and versions of the schemas (as per the agreed system) The namespace for the image: lineage; spatial representation; and content are all linked back to the 19115-1 namespaces (eg end in /19115/1/mrs/1.3; /19115/1/msr/1.3; and /19115/1/mrs/1.3) whilst the acquisition information namespace ends in /19115/2/mac/2.2