After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620249 - invalid xml for object_index with (n_objects % 3) == 0
invalid xml for object_index with (n_objects % 3) == 0
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: 1.16
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-01 12:54 UTC by Emmanuele Bassi (:ebassi)
Modified: 2010-06-02 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2010-06-01 12:54:11 UTC
if the number of objects is divisible by 3 the generated object_index.sgml is wrong:

...
<row>
<entry><link linkend="GInitiallyUnowned">GInitiallyUnowned</link></entry>
<entry><link linkend="GInterface">GInterface</link></entry>
<entry><link linkend="GObject">GObject</link></entry>
</row>
</row>                                       ← wrong, additional closing tag
</tbody></tgroup></informaltable>

and these are the errors:

../xml/object_index.sgml:103: parser error : Opening and ending tag mismatch: tbody line 12 and row
</row>
      ^
../xml/object_index.sgml:104: parser error : Opening and ending tag mismatch: tgroup line 8 and tbody
</tbody></tgroup></informaltable>
        ^
../xml/object_index.sgml:104: parser error : Opening and ending tag mismatch: informaltable line 7 and tgroup
</tbody></tgroup></informaltable>
                 ^
../xml/object_index.sgml:104: parser error : Extra content at the end of the document
</tbody></tgroup></informaltable>
                 ^
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2010-06-02 20:47:38 UTC
commit 26901ca27fb053c2d9eda1dc80d5cb8eb9bee91b
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Wed Jun 2 23:43:47 2010 +0300

    mkdb: fix object_index for n_object % 3, FIxes #620249
    
    Don't output the closing row tag twice in this case. Add tests for it.