Date: Mon, 22 Jul 2013 16:17:31 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r42377 - projects/db5/share/xml Message-ID: <201307221617.r6MGHV9I029847@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gabor Date: Mon Jul 22 16:17:30 2013 New Revision: 42377 URL: http://svnweb.freebsd.org/changeset/doc/42377 Log: - What applies to tables, also applies to informaltables Modified: projects/db5/share/xml/freebsd.sch Modified: projects/db5/share/xml/freebsd.sch ============================================================================== --- projects/db5/share/xml/freebsd.sch Mon Jul 22 15:59:22 2013 (r42376) +++ projects/db5/share/xml/freebsd.sch Mon Jul 22 16:17:30 2013 (r42377) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307221617.r6MGHV9I029847>