AstunTechnology / iso19139.gemini23

Gemini 2.3 schema plugin for Geonetwork
0 stars 7 forks source link

Update temporal extent validation rules to work in the metadata editor #131

Closed josegar74 closed 1 year ago

josegar74 commented 1 year ago

The metadata editor add some additional elements to the xml, usually in the geonet namespace, usually as sibling of the iso19139 elements. But for temporal extent, it adds an extra nested element that causes trouble with the validation rule, see <gml:TimePeriodTypeCHOICE_ELEMENT2> below:

<gml:TimePeriod gml:id="_d210e84">
  <gml:TimePeriodTypeCHOICE_ELEMENT2>
    <gml:beginPosition indeterminatePosition="before">

This pull request updates the related validation rules to work in the metadata editor with the "enhanced" xml and also with the normal xml.

archaeogeek commented 1 year ago

Superseded by https://github.com/AstunTechnology/iso19139.gemini23/commit/316a63f00cdc5f8b97a45c6cd0a2d667d61f5b75