Author: kkolinko Date: 2014-12-03 03:09:10 +0000 (Wed, 03 Dec 2014) New Revision: r1643054
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 Index: tomcat/trunk/webapps/docs/tomcat-docs.xsl =================================================================== --- tomcat/trunk/webapps/docs/tomcat-docs.xsl (revision 1643053) +++ tomcat/trunk/webapps/docs/tomcat-docs.xsl (revision 1643054) @@ -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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org