Browse Source

Siwtch to strict dtd.

The escaping has been removed because this case is not adressed by the
xslt specs. Xalan 2.4D1 unescape &amp in the attribute while Saxon 7.1 does.
See PR 1604 for more information.

PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273226 13f79535-47bb-0310-9956-ffa450edef68
master
Stephane Bailliez 23 years ago
parent
commit
6a12e3ec4f
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/etc/changelog.xsl

+ 6
- 6
src/etc/changelog.xsl View File

@@ -62,8 +62,8 @@
<xsl:param name="cvsweb"/> <xsl:param name="cvsweb"/>


<xsl:output method="html" indent="yes" encoding="US-ASCII" <xsl:output method="html" indent="yes" encoding="US-ASCII"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html401/loose.dtd"/>
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html401/strict.dtd"/>


<!-- Copy standard document elements. Elements that <!-- Copy standard document elements. Elements that
should be ignored must be filtered by apply-templates should be ignored must be filtered by apply-templates
@@ -112,8 +112,8 @@
<h1> <h1>
<a name="top"><xsl:value-of select="$title"/></a> <a name="top"><xsl:value-of select="$title"/></a>
</h1> </h1>
<p align="right">Designed for use with <a href="http://jakarta.apache.org/ant/">Ant</a>.</p>
<hr size="2"/>
<p style="text-align: right">Designed for use with <a href="http://jakarta.apache.org/ant/">Ant</a>.</p>
<hr/>
<table border="0" width="100%" cellspacing="1"> <table border="0" width="100%" cellspacing="1">
<xsl:apply-templates select=".//entry"> <xsl:apply-templates select=".//entry">
@@ -165,10 +165,10 @@
<a> <a>
<xsl:choose> <xsl:choose>
<xsl:when test="string-length(prevrevision) = 0 "> <xsl:when test="string-length(prevrevision) = 0 ">
<xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?rev=<xsl:value-of select="revision" />&amp;amp;content-type=text/x-cvsweb-markup</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?rev=<xsl:value-of select="revision" />&amp;content-type=text/x-cvsweb-markup</xsl:attribute>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?r1=<xsl:value-of select="revision" />&amp;amp;r2=<xsl:value-of select="prevrevision"/></xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?r1=<xsl:value-of select="revision" />&amp;r2=<xsl:value-of select="prevrevision"/></xsl:attribute>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:value-of select="name" /> (<xsl:value-of select="revision"/>)</a> <xsl:value-of select="name" /> (<xsl:value-of select="revision"/>)</a>


Loading…
Cancel
Save