Date: Sun, 24 Aug 2003 23:58:55 +0200 (CEST) From: Pav Lucistnik <pav@oook.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: www/55938: make news, press and gnome sections validate Message-ID: <200308242158.h7OLwtXM059327@hood.oook.cz> Resent-Message-ID: <200308242200.h7OM0YFb041209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55938 >Category: www >Synopsis: make news, press and gnome sections validate >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 24 15:00:34 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pav Lucistnik >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD hood.oook.cz 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 19 23:53:22 CEST 2003 root@hood.oook.cz:/usr/obj/usr/src/sys/PAV i386 >Description: Anchor name is not allowed to begin with a digit. Please apply this patch to /usr/www/en/news/includes.xsl and the events part to /usr/www/en/gnome/includes.xsl >How-To-Repeat: >Fix: --- includes.xsl.orig Tue Sep 18 12:04:32 2001 +++ includes.xsl Sun Aug 24 23:42:57 2003 @@ -10,6 +10,7 @@ <!-- Generate a unique anchor for this event --> <xsl:template name="generate-event-anchor"> + <xsl:text>event</xsl:text> <xsl:value-of select="ancestor::year/name"/> <xsl:value-of select="ancestor::month/name"/> <xsl:value-of select="ancestor::day/name"/>:<xsl:value-of select="count(preceding-sibling::event)"/> @@ -17,6 +18,7 @@ <!-- Generate a unique anchor for this story --> <xsl:template name="generate-story-anchor"> + <xsl:text>story</xsl:text> <xsl:value-of select="ancestor::year/name"/> <xsl:value-of select="ancestor::month/name"/>:<xsl:text/> <xsl:value-of select="count(following-sibling::story)"/> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308242158.h7OLwtXM059327>