diff --git a/Doc/Sd1/appendix.xml b/Doc/Sd1/appendix.xml index 44d6f41b8f50a3eea2a5f03dd4500db62bdc8b47..1999ed4c2c1e6a746dea45e5dbbc188620981d8a 100644 --- a/Doc/Sd1/appendix.xml +++ b/Doc/Sd1/appendix.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<appendix annotations="slide" version="5.1" +<appendix annotations="slide" version="5.1" xml:id="sd1_appendix" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xila="http://www.w3.org/2001/XInclude/local-attributes" diff --git a/Doc/lectures.xml b/Doc/lectures.xml index 4e14f9830ff7a53882c95ce6a6e085fa7f3e670e..f10c26e9b3f67e99a8a0f55cf4beb1fa2c571b8c 100644 --- a/Doc/lectures.xml +++ b/Doc/lectures.xml @@ -97,7 +97,7 @@ <xi:include href="Sd1/appendix.xml" xpointer="element(/1)"/> </part> - <part xml:id="sda1" annotations="forumId=6;"> + <part annotations="forumId=6;" xml:id="sda1"> <title>Structured Data and Applications 1</title> <xi:include href="Sda1/prerequisites.xml" xpointer="element(/1)"/> @@ -114,7 +114,7 @@ <xi:include href="Sda1/mongodb.xml" xpointer="element(/1)"/> - <appendix> + <appendix xml:id="sda1_appendix"> <title>Appendix</title> <xi:include href="Sda1/projects.xml" xpointer="element(/1)"/> diff --git a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch index a2403a3c2e241e464df224a8063fa68d2e56a5e4..e9ec419453b579ce572a703a9c8142dbb5333f7b 100644 --- a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch +++ b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch @@ -26,7 +26,7 @@ + </s:pattern> + + <s:pattern name="Mandatory Id definition constraint"> -+ <s:rule context="db:preface|db:chapter|db:section|db:figure|db:equation|db:table|db:qandaset"> ++ <s:rule context="db:preface|db:chapter|db:section|db:appendix|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> @@ -76,7 +76,7 @@ + + <s:pattern> + <s:title>Mandatory Id definition constraint</s:title> -+ <s:rule context="db:preface|db:chapter|db:section|db:figure|db:equation|db:table|db:qandaset"> ++ <s:rule context="db:preface|db:chapter|db:section|db:appendix|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>