[Pkg-utopia-maintainers] Bug#516253: consolekit: FTBFS: XML validation error

Daniel Leidert daniel.leidert at wgdd.de
Mon Mar 2 23:57:06 UTC 2009


tags 516253 + patch
thanks

Hi,

The issue appears now, because xmlto runs xmllint now with resolving
entities, so it checks the complete XML document and this document is
not valid.

The document contains too many issues to send you a fix to make it
valid. Typical bugs are:

<listitem>text</listitem> must be <listitem><para>text</para></listitem>
(or <simpara> instead of <para>)

<variablelist role="params"/> is not valid, as <variablelist> must have
a <varlistentry> child (it's not an empty element)

<refsect1> contents must not be mixed <para> and <refsect2> - it can
only be first content (like <para>) and then only <refsect2>, but not
<para> between the <refsect2>


Taking a look at the files, you should contact upstream to let them fix
these issues (too many problems). They can use

xmllint --noout --xinclude --postvalid --noent doc/ConsoleKit.xml

to reproduce the problems.


As a quick and dirty solution, just skip the validation. In
doc/Makefile.in add the --skip-validation switch to the xmlto call.
Patch attached.

Regards, Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 516253.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090303/20bcaa02/attachment.bin 


More information about the Pkg-utopia-maintainers mailing list