Commit 036ff297 authored by mrodzis's avatar mrodzis 🌎
Browse files

fix: Schematron rule sch_rightsType

parent a5ce9d0e
......@@ -140,7 +140,8 @@
or preceding-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00921')
or @lido:type = 'http://terminology.lido-schema.org/lido00921'
and not(following-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00920'
or preceding-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00920')">
or preceding-sibling::lido:rightsType/@lido:type = 'http://terminology.lido-schema.org/lido00920')
or count(parent::*/lido:rightsType) = 1 and not(@lido:type)">
<sch:value-of select="parent::*/name()"/> can either hold a specific or a generic lido:rightsType (mutually exclusive).
</sch:assert>
</sch:rule>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment