]> granicus.if.org Git - docbook-dsssl/commitdiff
Clean up trivial param-name mismatch
authorandrewcarver <andy.carver@yahoo.com>
Sat, 7 Sep 2019 19:22:21 +0000 (13:22 -0600)
committerGitHub <noreply@github.com>
Sat, 7 Sep 2019 19:22:21 +0000 (13:22 -0600)
On the (last) two templates, "region.inner" and "region.outer", the param-name "classname" does not match the with-param name ("pageclass") in the simple-page-masters, set-up in this file, that call these two templates.
I call this a "trivial" clean-up because the param-value is, by default, not actually used in either of these two templates, and because anyone who customizes one or both of these templates, would probably detect the name-mismatch pretty quickly. (But still...)

xsl/fo/pagesetup.xsl

index 29e478d3bbddfee3f2dfba01af43ec7261eece8c..bd1907aae70abdaad0ea898f1a9757108167a88c 100644 (file)
 <!-- Customize this template for custom side regions -->
 <xsl:template name="region.inner">
   <xsl:param name="sequence">blank</xsl:param>
-  <xsl:param name="classname">blank</xsl:param>
+  <xsl:param name="pageclass">blank</xsl:param>
 
   <xsl:choose>
     <xsl:when test="$sequence = 'first' or $sequence = 'odd'">
 <!-- Customize this template for custom side regions -->
 <xsl:template name="region.outer">
   <xsl:param name="sequence">blank</xsl:param>
-  <xsl:param name="classname">blank</xsl:param>
+  <xsl:param name="pageclass">blank</xsl:param>
 
   <xsl:choose>
     <xsl:when test="$sequence = 'first' or $sequence = 'odd'">