Bug#293989: [xml/sgml-pkgs] Bug#293989: xsl stylesheet does not work anymore
Wichert Akkerman
Wichert Akkerman <wichert@wiggy.net>, 293989@bugs.debian.org
Mon, 7 Feb 2005 21:55:25 +0100
Previously Mike Hommey wrote:
> So, i'd say there are 2 solutions :
> - removing this templace in common/common.xsl
> - replace the xsl:include by a xsl:import for the common/common.xsl file
> in docbook.xsl.
I tried the second approach and it worked fine.
Ramon, James: DB2LaTeX does not work with current versions of the XSLT
and XML libraries due to the double definition of the
question.answer.label template. You can find more information about the
problem at http://bugs.debian.org/293989 . The patch below fixes it.
The last maintainer release from Ardo was quite some time ago; I can
do a NMU if wanted to get this fix in.
Wichert.
diff -wur org/db2latex-xsl-0.8pre1/debian/changelog db2latex-xsl-0.8pre1/debian/changelog
--- org/db2latex-xsl-0.8pre1/debian/changelog 2005-02-07 21:46:01.000000000 +0100
+++ db2latex-xsl-0.8pre1/debian/changelog 2005-02-07 21:40:59.000000000 +0100
@@ -1,3 +1,12 @@
+db2latex-xsl (0.8pre1-2.1) unstable; urgency=medium
+
+ * Non-maintainer version
+ * Use xsl:import instead of xsl:include to load common/common.xsl .
+ This works around the problematic double definition of the
+ question.answer.label template. Fix from Mike Hommey.
+
+ -- Wichert Akkerman <wichert@wiggy.net> Mon, 07 Feb 2005 21:40:55 +0100
+
db2latex-xsl (0.8pre1-2) unstable; urgency=low
* debian/control: removed spurious newline from Build-Depends
diff -wur org/db2latex-xsl-0.8pre1/xsl/docbook.xsl db2latex-xsl-0.8pre1/xsl/docbook.xsl
--- org/db2latex-xsl-0.8pre1/xsl/docbook.xsl 2004-03-13 17:36:19.000000000 +0100
+++ db2latex-xsl-0.8pre1/xsl/docbook.xsl 2005-02-07 21:39:24.000000000 +0100
@@ -63,7 +63,7 @@
<xsl:key name="id" match="*" use="@id"/>
<xsl:include href="common/l10n.xsl"/>
- <xsl:include href="common/common.xsl"/>
+ <xsl:import href="common/common.xsl"/>
<xsl:include href="common/gentext.xsl"/>
<xsl:include href="common/subtitles.xsl"/>
<xsl:include href="common/titles.xsl"/>
--
Wichert Akkerman <wichert@wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.