From 44b39b36735358a0452584fbb6cff7f0bec1af1a Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Mon, 8 May 2017 08:19:41 +0200
Subject: [PATCH] Adding <preface> @xml:id rule to schematron integrity checks

---
 ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch
index 5525d729d..362345b7c 100644
--- a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch
+++ b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch
@@ -28,7 +28,7 @@ diff -Naur xmlmind.orig/addon/config/docbook5/rng/V5.0/docbook.sch xmlmind/addon
 +   </s:pattern>
 +
 +   <s:pattern name="Mandatory Id definition constraint">
-+      <s:rule context="db:chapter|db:section|db:figure|db:equation|db:table|db:qandaset">
++      <s:rule context="db:preface|db:chapter|db:section|db:figure|db:equation|db:table|db:qandaset">
 +         <s:assert test="@xml:id">Each chapter,section, subection,... must have a unique id.</s:assert>
 +      </s:rule>
 +   </s:pattern>
-- 
GitLab