Author: kkolinko
Date: Wed Dec 3 03:09:10 2014
New Revision: 1643054
URL: http://svn.apache.org/r1643054
Log:
Change algorithm for generation of unambiguous anchor names.
This fixes ambiguity with anchors in config/valve.html:
Old: Access_Logging/Introduction (for both Access Log Valve and Extended Access
Log Valve)
New: Access_Log_Valve/Introduction, Extended_Access_Log_Valve/Introduction
The issue was reported via documentation comments system.
Modified:
tomcat/trunk/webapps/docs/tomcat-docs.xsl
Modified: tomcat/trunk/webapps/docs/tomcat-docs.xsl
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/tomcat-docs.xsl?rev=1643054&r1=1643053&r2=1643054&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/trunk/webapps/docs/tomcat-docs.xsl Wed Dec 3 03:09:10 2014
@@ -294,7 +294,7 @@
<xsl:if test="
count(//*[self::section or
self::subsection][@name=current()/@name]) > 1
">
- <xsl:value-of select="concat(ancestor::section/@name, '/')"/>
+ <xsl:value-of select="concat(parent::*[self::section or
self::subsection]/@name, '/')"/>
</xsl:if>
<xsl:value-of select="@name"/>
</xsl:otherwise>
@@ -335,7 +335,7 @@
<xsl:if test="local-name()='subsection' and
count(//*[self::section or
self::subsection][@name=current()/@name]) > 1
">
- <xsl:value-of select="concat(ancestor::section/@name, '/')"/>
+ <xsl:value-of select="concat(parent::*[self::section or
self::subsection]/@name, '/')"/>
</xsl:if>
<xsl:value-of select="@name"/>
</xsl:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]