diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2019-03-03 08:26:10 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2019-03-03 08:26:10 +0100 |
commit | 10d302435cc77899f630781d5bd2b1c0fcd7fa0e (patch) | |
tree | 5492f6669bc09f5f117c9c3060387aac4a70fadb | |
parent | Simplify charset handling (diff) | |
download | apache2-10d302435cc77899f630781d5bd2b1c0fcd7fa0e.tar.xz apache2-10d302435cc77899f630781d5bd2b1c0fcd7fa0e.zip |
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1854677 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/manual/style/xsl/synopsis.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/style/xsl/synopsis.xsl b/docs/manual/style/xsl/synopsis.xsl index ee2df47328..1b464a7324 100644 --- a/docs/manual/style/xsl/synopsis.xsl +++ b/docs/manual/style/xsl/synopsis.xsl @@ -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> |