From 68964eddb979d41998d2540d23bb4cd68e01c72d Mon Sep 17 00:00:00 2001
From: Martin de la Iglesia <iglesia@hab.de>
Date: Wed, 22 Dec 2021 13:12:16 +0000
Subject: [PATCH] =?UTF-8?q?Warnung=20bei=20mehrfachen=20ist-Teil-von-Angab?=
 =?UTF-8?q?en=20hinzugef=C3=BCgt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ortsregister.odd | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ortsregister.odd b/ortsregister.odd
index bd01475..44a8f12 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">
-- 
GitLab