This commit is contained in:
Gabor Kovesdan 2013-07-03 10:43:17 +00:00
commit fc03eb5c00
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=42131
227 changed files with 36363 additions and 17247 deletions

View file

@ -46,8 +46,8 @@
<pattern name="Check titles">
<rule context="//db:book|//db:article|//db:chapter|//db:section|//db:sect1|//db:sect2|//db:sect3|//db:sect4|//db:sect5">
<assert test="db:title or db:info/db:title">There must be a title either in the the doc component (<xsl:value-of select="@id"/>) or in the info element.</assert>
<report test="db:title and db:info/db:title">There must be exactly one title for a doc component (<xsl:value-of select="@id"/>).</report>
<assert test="db:title or db:info/db:title">There must be a title either in the the doc component (<xsl:value-of select="@xml:id"/>) or in the info element.</assert>
<report test="db:title and db:info/db:title">There must be exactly one title for a doc component (<xsl:value-of select="@xml:id"/>).</report>
</rule>
</pattern>