]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a parsing error when using Ant 1.9.13 without the external Xerces (2.9.0) and...
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 3 Mar 2019 07:26:10 +0000 (07:26 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 3 Mar 2019 07:26:10 +0000 (07:26 +0000)
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1854677 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/synopsis.xsl

index ee2df47328b9f8a255f3757fe70f43669a961460..1b464a7324b29bc4c9f5dee45dfe46482fcf350e 100644 (file)
                          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>