- Fix the cases when the specified column number does not match the real one

- Add a constraint for this
This commit is contained in:
Gabor Kovesdan 2013-07-03 17:35:46 +00:00
parent a0158d2a4d
commit e819151e45
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42142
22 changed files with 33 additions and 16 deletions
de_DE.ISO8859-1/books
handbook/firewalls
porters-handbook
el_GR.ISO8859-7/books/handbook/firewalls
en_US.ISO8859-1/books
handbook/desktop
pmake/gods
porters-handbook
hu_HU.ISO8859-2/books/handbook
firewalls
linuxemu
it_IT.ISO8859-15/books
handbook/serialcomms
unix-introduction/system-resource
ja_JP.eucJP/books
handbook/desktop
porters-handbook
mn_MN.UTF-8/books/handbook/firewalls
nl_NL.ISO8859-1/books/handbook/serialcomms
pl_PL.ISO8859-2/books/handbook/firewalls
ru_RU.KOI8-R/books/porters-handbook
share/xml
zh_CN.GB2312/books
handbook/firewalls
porters-handbook
zh_TW.Big5/books
handbook
firewalls
serialcomms
porters-handbook

View file

@ -1834,7 +1834,7 @@ block in log first quick on dc0 all
Internet:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -6050,6 +6050,7 @@ PLIST_SUB+= NLS="@comment "
<thead>
<row>
<entry>Nur lesbare Variablen</entry>
<entry>Bedeutung</entry>
</row>
</thead>

View file

@ -1823,7 +1823,7 @@ block in log first quick on dc0 all
Internet:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -41,7 +41,7 @@
desktop applications:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="3">
<tgroup cols="4">
<thead>
<row>
<entry>Type of Application</entry>

View file

@ -386,7 +386,7 @@ still more lines
They are as follows:</para>
<informaltable frame="none">
<tgroup cols="3">
<tgroup cols="2">
<tbody>
<row>
<entry><literal>ifdef</literal></entry>

View file

@ -5958,6 +5958,7 @@ PLIST_SUB+= NLS="@comment "
<thead>
<row>
<entry>Read only variables</entry>
<entry>Means</entry>
</row>
</thead>
@ -17022,7 +17023,7 @@ pre-install:
<table frame="none">
<title>Values of <makevar>USES</makevar></title>
<tgroup cols="2">
<tgroup cols="3">
<thead>
<row>
<entry>Feature</entry>

View file

@ -2360,7 +2360,7 @@ block in log first quick on dc0 all
kijutni az internetre:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -2063,7 +2063,7 @@ export PATH</programlisting>
láthatjuk):</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="4">
<tgroup cols="3">
<thead>
<row>
<entry>Állományrendszer</entry>

View file

@ -1374,7 +1374,7 @@ ttyd5 "/usr/libexec/getty std.19200" vt100 on insecure</programlisting>
<table frame="none" pgwide="1" id="serialcomms-signal-names">
<title>Nomi dei Segnali</title>
<tgroup cols="5">
<tgroup cols="2">
<thead>
<row>
<entry align="left">Acronimi</entry>

View file

@ -280,6 +280,8 @@ peri:/acs/peri/2
<entry>BSD</entry>
<entry>SVR4</entry>
<entry/>
</row>
</thead>

View file

@ -44,7 +44,7 @@
以下のデスクトップアプリケーションのインストール方法について説明します。</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="3">
<tgroup cols="4">
<thead>
<row>
<entry>分野</entry>

View file

@ -3827,6 +3827,8 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting>
<thead>
<row>
<entry>読み取り専用変数</entry>
<entry>°ÕÌ£</entry>
</row>
</thead>

View file

@ -1578,7 +1578,7 @@ DSL модемтой хэрэглэгчдийн хувьд модемоо аса
боломжтой, эдгээр IP хэзээ ч гадаад Интернэт уруу гарахгүй болно:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -1385,7 +1385,7 @@ ttyu5 "/usr/libexec/getty std.19200" vt100 on insecure</programlisting>
<table frame="none" pgwide="1" id="serialcomms-signal-names">
<title>Signaalnamen</title>
<tgroup cols="5">
<tgroup cols="2">
<thead>
<row>
<entry align="left">Acroniemen</entry>

View file

@ -1704,7 +1704,7 @@ block in log first quick on dc0 all
Internet:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -5138,6 +5138,8 @@ IGNORE= may not be redistributed because of licensing reasons. Please vi
<thead>
<row>
<entry>ðÅÒÅÍÅÎÎÁÑ</entry>
<entry>úÎÁÞÅÎÉÅ</entry>
</row>
</thead>
@ -5622,6 +5624,8 @@ PLIST_SUB+= NLS="@comment "
<thead>
<row>
<entry>ðÅÒÅÍÅÎÎÙÅ ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ</entry>
<entry>úÎÁÞÅÎÉÅ</entry>
</row>
</thead>

View file

@ -60,10 +60,13 @@
</rule>
</pattern>
<pattern name="Check table entries">
<pattern name="Check tables">
<rule context="//entry">
<report test="@colname and @spanname">You cannot use both colname and spanname attributes on table entries.</report>
</rule>
<rule context="//tgroup">
<report test="@cols != count((thead/row|tbody/row)[1]//entry)">The number of columns does not match the specified value (in section <xsl:value-of select="(ancestor::sect5[last()]|ancestor::sect4[last()]|ancestor::sect3[last()]|ancestor::sect2[last()]|ancestor::sect1[last()]|ancestor::chapter[last()])[last()]/@id"/>).</report>
</rule>
</pattern>
<!--

View file

@ -1556,7 +1556,7 @@ block in log first quick on dc0 all
它们不会在 Internet 公网上路由:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -5008,6 +5008,8 @@ PLIST_SUB+= NLS="@comment "
<thead>
<row>
<entry>Ö»¶Á±äÁ¿</entry>
<entry>ÒâÒå</entry>
</row>
</thead>

View file

@ -1675,7 +1675,7 @@ block in log first quick on dc0 all
Internet:</para>
<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<tgroup cols="3">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>

View file

@ -1192,7 +1192,7 @@ ttyd5 "/usr/libexec/getty std.19200" vt100 on insecure
<table frame="none" pgwide="1" id="serialcomms-signal-names">
<title>Signal Names</title>
<tgroup cols="5">
<tgroup cols="2">
<thead>
<row>
<entry align="left">Acronyms</entry>

View file

@ -4953,6 +4953,8 @@ PLIST_SUB+= NLS="@comment "
<thead>
<row>
<entry>Read only variables</entry>
<entry>Means</entry>
</row>
</thead>