Skip to content

Commit

Permalink
Merge pull request #190 from inspire-eu-validation/issue-189
Browse files Browse the repository at this point in the history
Modifications in the ETS to solve the issue #189
  • Loading branch information
inakidiazdecerio authored Nov 26, 2018
2 parents 76cbdf7 + 7cd3252 commit 2f63890
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/interoperability-metadata/ets-md-iop-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ return
<TestAssertion id="EID6fc9b97a-19ff-417b-bcd1-d8e37c718ca9">
<label>md-iop.a.5: Character Encoding</label>
<description><![CDATA[<p>Verify that the identifier(s) of the character encoding(s) used in the data set have been created and published in the metadata for the data set. This element is mandatory only if an encoding is used that is not based on UTF-8.<br/><br/>
For each value of Character Encoding in the data set metadata, test that the value is one of the <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml">valid character encodings</a>.</p>
For each value of Character Encoding in the data set metadata, test that the value is one of the <a href="https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml">valid character encodings</a>.</p>
<p>Relevant requirement(s):</p>
<ul>
<li>IR Requirement Article 13(5): The metadata describing a spatial data set shall include the following metadata element required for interoperability: Character Encoding: The character encoding used in the data set. This element is mandatory only if an encoding is used that is not based on UTF-8.</li>
Expand All @@ -215,7 +215,7 @@ For each value of Character Encoding in the data set metadata, test that the val
<parent ref="EID8f1b8fb1-1ddb-4ecf-8dbc-b0d33fe9ffcf"/>
<expectedResult>NOT_APPLICABLE</expectedResult>
<expression>
let $validCodes := doc('http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml')//gmx:ML_CodeListDictionary[@gml:id='MD_CharacterSetCode']/gmx:codeEntry/gmx:ML_CodeDefinition/gml:identifier/text()
let $validCodes := doc('https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/ML_gmxCodelists.xml')//gmx:ML_CodeListDictionary[@gml:id='MD_CharacterSetCode']/gmx:codeEntry/gmx:ML_CodeDefinition/gml:identifier/text()
let $levels := ('dataset', 'series')
let $recordsToInspect := $records[gmd:hierarchyLevel/*/@codeListValue = $levels]
let $messages :=
Expand All @@ -242,7 +242,7 @@ return
<TestAssertion id="EIDa6fc5c79-85f2-4a3c-9520-f3968dd0cb4d">
<label>md-iop.a.6: Spatial Representation Type</label>
<description><![CDATA[<p>Verify that the identifier(s) of the spatial representation type(s) used in the data set have been created, taken from the list of allowed values and published in the metadata for the data set.<br/><br/>
Inspect the data set metadata whether metadata describing the spatial representation type(s) have been created and published in spatialRepresentationType.<br/><br/>Verify that each value is one of the <a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml">valid values</a>.</p>
Inspect the data set metadata whether metadata describing the spatial representation type(s) have been created and published in spatialRepresentationType.<br/><br/>Verify that each value is one of the <a href="https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml">valid values</a>.</p>
<p>Relevant requirement(s):</p>
<ul>
<li>IR Requirement Article 13(5): The metadata describing a spatial data set shall include the following metadata element required for interoperability: Spatial Representation Type: The method used to spatially represent geographic information.</li>
Expand All @@ -253,7 +253,7 @@ Inspect the data set metadata whether metadata describing the spatial representa
<parent ref="EID8f1b8fb1-1ddb-4ecf-8dbc-b0d33fe9ffcf"/>
<expectedResult>NOT_APPLICABLE</expectedResult>
<expression>
let $validCodes := doc('http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml')//gmx:CodeListDictionary[@gml:id='MD_SpatialRepresentationTypeCode']/gmx:codeEntry/gmx:CodeDefinition/gml:identifier/text()
let $validCodes := doc('https://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml')//gmx:CodeListDictionary[@gml:id='MD_SpatialRepresentationTypeCode']/gmx:codeEntry/gmx:CodeDefinition/gml:identifier/text()
let $levels := ('dataset', 'series')
let $recordsToInspect := $records[gmd:hierarchyLevel/*/@codeListValue = $levels]
let $messages :=
Expand Down

0 comments on commit 2f63890

Please sign in to comment.