diff --git a/ortsregister.odd b/ortsregister.odd index bd0147519b81b2557e61acdec4b887cda5a5fe7b..44a8f12df2bc58691bc26124f8116819f934dba5 100644 --- a/ortsregister.odd +++ b/ortsregister.odd @@ -198,15 +198,15 @@ <content> <rng:empty/> </content> - <!--<constraintSpec scheme="schematron" ident="falls_within-contains"> + <constraintSpec scheme="schematron" ident="falls-within_doppelt"> <constraint> <sch:pattern> - <sch:rule context="tei:link[@ana = 'http://erlangen-crm.org/current/P89i_contains']"> - <sch:report test="./ancestor::tei:linkGrp[./tei:link[@ana = 'http://erlangen-crm.org/current/P89_falls_within'] and ./tei:link[@ana = 'http://erlangen-crm.org/current/P89i_contains']]">Ein Ort darf nicht zugleich einen anderen Ort beinhalten und Teil eines anderen Ortes sein.</sch:report> + <sch:rule context="tei:link[@ana = 'http://erlangen-crm.org/current/P89_falls_within']"> + <sch:report test="./ancestor::tei:linkGrp/tei:link[@ana = 'http://erlangen-crm.org/current/P89_falls_within'][2]">Mehrere "ist-Teil-von"-Angaben</sch:report> </sch:rule> </sch:pattern> </constraint> - </constraintSpec>--> + </constraintSpec> <attList> <attDef ident="ana" usage="req"> <valList type="closed">