diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-07-22 16:17:30 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-07-22 16:17:30 +0000 |
commit | 99f6fae9f45af89b916ac97175adb1f77b84cfa6 (patch) | |
tree | 166c15c27a191bfb5f6e247d6b878b6045b5dc5b /share | |
parent | a47579024e6aac9c77db9074f0e91d1f9f7f1202 (diff) | |
download | doc-99f6fae9f45af89b916ac97175adb1f77b84cfa6.tar.gz doc-99f6fae9f45af89b916ac97175adb1f77b84cfa6.zip |
- What applies to tables, also applies to informaltables
Notes
Notes:
svn path=/projects/db5/; revision=42377
Diffstat (limited to 'share')
-rw-r--r-- | share/xml/freebsd.sch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/xml/freebsd.sch b/share/xml/freebsd.sch index 73dc904ce0..d76cb2a701 100644 --- a/share/xml/freebsd.sch +++ b/share/xml/freebsd.sch @@ -61,7 +61,7 @@ <rule context="//db:tgroup"> <report test="@cols != count((db:thead/db:row|db:tbody/db:row)[1]//db:entry)">The number of columns does not match the specified value (in section <xsl:value-of select="(ancestor::db:sect5[last()]|ancestor::db:sect4[last()]|ancestor::db:sect3[last()]|ancestor::db:sect2[last()]|ancestor::db:sect1[last()]|ancestor::db:chapter[last()])[last()]/@xml:id"/>).</report> </rule> - <rule context="//db:table"> + <rule context="//db:table|//db:informaltable"> <report test=".//db:programlisting">Programlisting is not allowed in tables (in section <xsl:value-of select="(ancestor::db:sect5[last()]|ancestor::db:sect4[last()]|ancestor::db:sect3[last()]|ancestor::db:sect2[last()]|ancestor::db:sect1[last()]|ancestor::db:chapter[last()])[last()]/@xml:id"/>).</report> <report test=".//db:screen">The screen element is not allowed in tables (in section <xsl:value-of select="(ancestor::db:sect5[last()]|ancestor::db:sect4[last()]|ancestor::db:sect3[last()]|ancestor::db:sect2[last()]|ancestor::db:sect1[last()]|ancestor::db:chapter[last()])[last()]/@xml:id"/>).</report> <report test=".//db:footnote">Footnote is not allowed in tables (in section <xsl:value-of select="(ancestor::db:sect5[last()]|ancestor::db:sect4[last()]|ancestor::db:sect3[last()]|ancestor::db:sect2[last()]|ancestor::db:sect1[last()]|ancestor::db:chapter[last()])[last()]/@xml:id"/>).</report> |