[gimp-help-2] Add a workaround for an xsltproc(?) error



commit 04f83841eafad584db7b9f245aff494f10e2076c
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Tue Mar 8 20:57:17 2011 +0100

    Add a workaround for an xsltproc(?) error
    
    This is another attempt to make the automatic build succeed:
    http://gimptest.flamingtext.com:8080/job/gimp-help-2/ reported a
        runtime error: file stylesheets/plainhtml.xsl line 112 element td
        unregistered variable direction.align.start
        xmlXPathCompiledEval: evaluation failed

 stylesheets/plainhtml.xsl.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/stylesheets/plainhtml.xsl.in b/stylesheets/plainhtml.xsl.in
index 354f6e7..f36107f 100644
--- a/stylesheets/plainhtml.xsl.in
+++ b/stylesheets/plainhtml.xsl.in
@@ -88,6 +88,9 @@
     <xsl:variable name="home" select="/*[1]"/>
     <xsl:variable name="up" select="parent::*"/>
 
+    <!--XXX: workaround for a weird runtime error ("unregistered variable")-->
+    <xsl:variable name="direction.align.start">left</xsl:variable>
+
     <xsl:variable name="row1" select="$navig.showtitles != 0"/>
     <xsl:variable name="row2" select="count($prev) &gt; 0
                                       or (count($up) &gt; 0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]