Date: Sun, 28 Nov 2010 23:21:00 -0800 From: Jason Helfman <jhelfman@e-e.com> To: Jason Helfman <jhelfman@e-e.com> Cc: freebsd-doc@freebsd.org Subject: Re: bug in libcommon.xsl ? Message-ID: <20101129072100.GA89231@eggman.experts-exchange.com> In-Reply-To: <20101129070723.GA88964@eggman.experts-exchange.com> References: <20101129070723.GA88964@eggman.experts-exchange.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 28, 2010 at 11:07:23PM -0800, Jason Helfman thus spake: >I am beating my head against the wall trying to get this to work, but I've >come to the conclusion that there must be a bug in libcommon.xsl, as the >template of 'list-heml-advisories' gives the same output for not only >advisories, but also for notices. > >I set up something similar to advisories.sgml to make an errata.html for >this testing. > >In doing the following, the resulting errata.html.inc has the SA >advisories, and not the EN notices. > ><xsl:template match="/"> > <xsl:call-template name="html-list-advisories"> > <xsl:with-param name="advisories.xml" select="$advisories.xml" /> > <xsl:param name="type" select="'notice'" /> > </xsl:call-template> ></xsl:template> > >I've tried so many combinations, and I am convinced that something is broken >at this point. > >Ref: >http://www.freebsd.org/cgi/cvsweb.cgi/www/share/sgml/libcommon.xsl Some weird cut-n-paste issue ended up printing out something different, however, still incorrect, and I still believe this to be a bug. Here is the xml: <xsl:template match="/"> <xsl:call-template name="html-list-advisories"> <xsl:with-param name="advisories.xml" select="$advisories.xml" /> <xsl:with-param name="type" select="'notice'" /> </xsl:call-template> </xsl:template> The resulting errata.html.inc file has this content: [jhelfman@eggman ~/www/en/security.jgh]$ cat errata.html.inc <p>FreeBSD 6.3-RELEASE released.</p><p>FreeBSD 6.2-RELEASE released.</p><p>FreeBSD 5.5-RELEASE released.</p><p>FreeBSD 6.1-RELEASE released.</p><p>FreeBSD 6.0-RELEASE released.</p><p>FreeBSD 5.4-RELEASE released.</p><p>FreeBSD 4.11-RELEASE released.</p><p>FreeBSD 5.3-RELEASE released.</p><p>FreeBSD 4.10-RELEASE released.</p><p>FreeBSD 5.2.1-RELEASE released.</p><p>FreeBSD 5.2-RELEASE released.</p><p>FreeBSD 4.9-RELEASE released.</p><p>FreeBSD 5.1-RELEASE released.</p><p>FreeBSD 4.8-RELEASE released.</p><p>FreeBSD 5.0-RELEASE released.</p><p>FreeBSD 4.7-RELEASE released.</p><p>FreeBSD 4.6.2-RELEASE released.</p><p>FreeBSD 4.6-RELEASE released.</p><p>FreeBSD 4.5-RELEASE released.</p><p>FreeBSD 4.4-RELEASE released.</p><p>FreeBSD 4.3-RELEASE released.</p> -jgh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101129072100.GA89231>