GNOME Bugzilla – Bug 620249
invalid xml for object_index with (n_objects % 3) == 0
Last modified: 2010-06-02 20:47:38 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> ^
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.