Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LIDO
lido-development
Commits
a8630a58
Commit
a8630a58
authored
May 28, 2021
by
schleier
Browse files
applied changes from schematron-review branch
parent
da614d91
Pipeline
#199543
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
1.1/lido-v1.1-public-beta.xsd
View file @
a8630a58
...
...
@@ -65,6 +65,7 @@
<sch:rule
abstract=
"true"
id=
"sch_MixedContent"
>
<sch:assert
role=
"fatal"
test=
"
(skos:Concept or lido:conceptID or lido:term) and not(text()[not(normalize-space(.) = '')] or @*)
or
...
...
@@ -81,7 +82,7 @@
namespace is used as a child element for concept(Mixed)ComplexType.
</sch:p>
<sch:rule
abstract=
"true"
id=
"sch_SKOS"
>
<sch:assert
test=
"not(skos:*[not(self::skos:Concept)])"
>
Only skos:Concept
<sch:assert
role=
"fatal"
test=
"not(skos:*[not(self::skos:Concept)])"
>
Only skos:Concept
should be used as direct child of
<sch:name/>
from the SKOS namespace.
</sch:assert>
</sch:rule>
...
...
@@ -92,8 +93,8 @@
<sch:p>
Ensures that when enriching a dataset with information retrieved via the URI provided in skos:Concept, only
SKOS properties are added to the dataset.
</sch:p>
<sch:rule
context=
"skos:Concept
/descendant::*
"
id=
"sch_SKOS_properties"
>
<sch:report
test=
"
namespace-uri() != 'http://www.w3.org/2004/02/skos/core#'"
>
<sch:rule
context=
"skos:Concept"
id=
"sch_SKOS_properties"
>
<sch:report
role=
"fatal"
test=
"child::*/
namespace-uri() != 'http://www.w3.org/2004/02/skos/core#'"
>
Only SKOS properties are allowed within skos:Concept.
</sch:report>
</sch:rule>
...
...
@@ -106,7 +107,7 @@
legalBodyRefComplexType.
</sch:p>
<sch:rule
abstract=
"true"
id=
"sch_OWL"
>
<sch:assert
test=
"not(owl:*[not(self::owl:sameAs)])"
>
Only owl:sameAs should be
<sch:assert
role=
"fatal"
test=
"not(owl:*[not(self::owl:sameAs)])"
>
Only owl:sameAs should be
used as direct child of
<sch:name/>
from the OWL namespace.
</sch:assert>
</sch:rule>
</sch:pattern>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment