Am Sonntag, den 10.05.2009, 10:02 +0200 schrieb Andreas Metzler: > when preparing a new exim4 upload I have found that docbook-xsl > 1.75.0+dfsg-1 generates incomplete output: [snip] > The file is generated by running > > xsltproc --nonet --stringparam section.autolabel 1 \ > -o debian/README.Debian.html \ > /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \ > debian/README.Debian.xml > > I have attached a copy of the xml file for your convenience. This is a > regression from docbook-xsl 1.74.3+dfsg-1, I have verified that > downgrading to this version fixes the issue for me.
It is indeed a regression. In case there are several <simpara> inside a <listitem>, the contents of the <simpara> elements are not applied (lists.xsl; template 'listitem/simpara'). Will fix this right now. > I am no XML guru, but I would have expected an error message if our > XML was broken. ;-) Your XML BTW is broken (which also seems to missing content in the output; even with 1.74): xmllint --noent --nonet --noout --valid debian/README.Debian.xml Patch attached. I can't tell you, why xsltproc doesn't error out. Regards, Daniel
--- README.Debian.xml.orig 2009-05-10 12:31:46.000000000 +0200 +++ README.Debian.xml 2009-05-10 12:56:29.000000000 +0200 @@ -44,7 +44,7 @@ </simpara> </listitem> <listitem> - <simpara> + <para> The very extensive Upstream documentation is shipped <orderedlist> <listitem> @@ -67,7 +67,7 @@ </simpara> </listitem> </orderedlist> - </simpara> + </para> </listitem> </orderedlist> </para> @@ -464,12 +464,12 @@ Please enter a semicolon-separated list of IP address ranges for which this system will unconditionally relay mail, functioning as a smarthost. - <para> </para> + <para> You should use the standard address/prefix format (e.g. 194.222.242.0/24 or 5f03:1200:836f::/48). - <para> </para> + <para> If this system should not be a smarthost for any other host, leave this list blank. </para>
test.xml
Description: XML document