Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LIDO
lido-development
Commits
c72df3a7
Commit
c72df3a7
authored
Apr 20, 2020
by
mrodzis
💪
Browse files
Remove unused file
parent
b7616090
Changes
1
Hide whitespace changes
Inline
Side-by-side
1.1/lido-constraints.sch
deleted
100644 → 0
View file @
b7616090
<?xml version="1.0" encoding="UTF-8"?>
<sch:schema
xmlns:sch=
"http://purl.oclc.org/dsdl/schematron"
xmlns:sqf=
"http://www.schematron-quickfix.com/validator/process"
>
<sch:ns
uri=
"http://www.lido-schema.org"
prefix=
"lido"
/>
<sch:pattern>
<sch:title>
Allow free text or LIDO's concept elements (mutually exclusive)
</sch:title>
<sch:p>
Some elements in LIDO v1.0 should be controlled in the future whereas they are free
text elements in LIDO v1.0. To ensure backwarts compatibility either a free text or a
controlled term should be provided in a mutually exclusive way.
</sch:p>
<sch:rule
context=
"lido:extentMaterialsTech"
>
<sch:assert
test=
"
(lido:displayConcept or lido:conceptID or lido:term) and not(text()[not(normalize-space(.) = '')] or @xml:lang or @lido:encodinganalog or @lido:label)
or
(text()[normalize-space(.) != ''] and not(lido:displayConcept or lido:conceptID or lido:term))"
>
Either a free text (incl. its attributes) OR a combination of
lido:displayConceptID, lido:conceptID and lido:term can be a child of
lido:extentMaterialsTech, but not both at the same time.
</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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