summaryrefslogtreecommitdiff
path: root/src/etc/changelog.xsl
diff options
context:
space:
mode:
authorStephane Bailliez <sbailliez@apache.org>2002-08-15 08:18:20 +0000
committerStephane Bailliez <sbailliez@apache.org>2002-08-15 08:18:20 +0000
commit6a12e3ec4fe6f50c4b9b0410f793618fc472025c (patch)
treead60736823d60180dee9e92c3791e5deda27e461 /src/etc/changelog.xsl
parentb996094b4f46dc678038276547d0a168ad128492 (diff)
downloadant-6a12e3ec4fe6f50c4b9b0410f793618fc472025c.tar.gz
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
Diffstat (limited to 'src/etc/changelog.xsl')
-rw-r--r--src/etc/changelog.xsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/etc/changelog.xsl b/src/etc/changelog.xsl
index 7b243cc57..46828ccbd 100644
--- a/src/etc/changelog.xsl
+++ b/src/etc/changelog.xsl
@@ -62,8 +62,8 @@
<xsl:param name="cvsweb"/>
<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
should be ignored must be filtered by apply-templates
@@ -112,8 +112,8 @@
<h1>
<a name="top"><xsl:value-of select="$title"/></a>
</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">
<xsl:apply-templates select=".//entry">
@@ -165,10 +165,10 @@
<a>
<xsl:choose>
<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: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:choose>
<xsl:value-of select="name" /> (<xsl:value-of select="revision"/>)</a>