httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1854677 - /httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl
Date Sun, 03 Mar 2019 07:26:10 GMT
Author: jailletc36
Date: Sun Mar  3 07:26:10 2019
New Revision: 1854677

URL: http://svn.apache.org/viewvc?rev=1854677&view=rev
Log:
Fix a parsing error when using Ant 1.9.13 without the external Xerces  (2.9.0) and Xalan (2.7.1).

The error is: "filter-expr(funcall(current, []), [pred(=(step("attribute", 39), literal-expr(section)))])'.
Cause: Erreur lors de la vérification du type de l'expression 'filter-expr(funcall(current,
[]), [pred(=(step("attribute", 39), literal-expr(section)))])"

This takes us 1 step closer to use Ant 1.9+ and remove Xerces and Xalan from the build chain.


Patch tested with the current doc build chain (Ant 1.6.5 + Xerces + Xalan) on the 2.4.x branch.
Even if actually we don't have any "<Foo>" and "Foo" directives, I've checked that the
doc is built correctly in such a case.

Modified:
    httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl

Modified: httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl?rev=1854677&r1=1854676&r2=1854677&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/synopsis.xsl Sun Mar  3 07:26:10 2019
@@ -335,7 +335,7 @@
                          is repeated.
                      -->
                     <xsl:choose>
-                        <xsl:when test="current()[@type='section']">
+                        <xsl:when test="@type='section'">
                             <xsl:apply-templates select="$this[name=current()/name and
@type='section']" />
                         </xsl:when>
                         <xsl:otherwise>



Mime
View raw message