Skip to content

Commit

Permalink
Modifications in the ETS to solve the issue 46
Browse files Browse the repository at this point in the history
The test will pass validation when the element has an attribute 'indeterminatePosition' with one of the following values:

- unknown
- now
  • Loading branch information
inakidiazdecerio committed May 28, 2019
1 parent 5150cfa commit ad28892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/schemas/ets-schemas-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Source: <a href="http://inspire.ec.europa.eu/id/ats/data/3.0rc3/schemas/gml-mode
<parent ref="EIDc04ade3c-0ad2-4fa5-9977-d83022855e3b"/>
<expectedResult>NOT_APPLICABLE</expectedResult>
<expression>
let $indeterminatePositionValues := ('unknown', 'now', 'before', 'after')
let $indeterminatePositionValues := ('unknown', 'now')
let $featuresWithErrors := $features[*[not(@xlink:href or element() or (text() and string-length(normalize-space(text()))&gt;0) or @xsi:nil eq 'true' or @indeterminatePosition = $indeterminatePositionValues)] or */*/*[not(@xlink:href or element() or (text() and string-length(normalize-space(text()))&gt;0) or @xsi:nil eq 'true' or @indeterminatePosition = $indeterminatePositionValues)]][position() le $limitErrors]
return
(if ($featuresWithErrors) then 'FAILED' else 'PASSED',
Expand Down

0 comments on commit ad28892

Please sign in to comment.