On 16 September 2010 15:08, sebb <seb...@gmail.com> wrote: > On 16 September 2010 14:04, <j...@apache.org> wrote: >> Author: jim >> Date: Thu Sep 16 13:04:04 2010 >> New Revision: 997733 >> >> URL: http://svn.apache.org/viewvc?rev=997733&view=rev >> Log: >> Release Tomcat 5.5.31 >> >> Modified: >> tomcat/site/trunk/docs/download-55.html >> tomcat/site/trunk/docs/index.html >> tomcat/site/trunk/docs/whichversion.html >> tomcat/site/trunk/xdocs/download-55.xml >> tomcat/site/trunk/xdocs/index.xml >> tomcat/site/trunk/xdocs/whichversion.xml >> >> Modified: tomcat/site/trunk/docs/download-55.html >> URL: >> http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-55.html?rev=997733&r1=997732&r2=997733&view=diff >> ============================================================================== >> --- tomcat/site/trunk/docs/download-55.html (original) >> +++ tomcat/site/trunk/docs/download-55.html Thu Sep 16 13:04:04 2010 >> @@ -3,17 +3,17 @@ >> <html> >> <head> >> <title>Apache Tomcat - Apache Tomcat 5 Downloads</title> >> -<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" /> >> -<link media="print" rel="stylesheet" href="stylesheets/tomcat-printer.css" >> type="text/css" /> >> +<link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet"/> >> +<link type="text/css" href="stylesheets/tomcat-printer.css" >> rel="stylesheet" media="print"/> > > These spurious changes of attribute order are probably caused by using > different Java versions for different commits. > > Such changes can be fixed by ensuring that any XSL tags with more than > 1 attribute are coded using nested xsl:attribute tags for all but the > first attribute. > > For example, by changing: > > <link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet" /> > > to > > <link type="text/css"> > <xsl:attribute name="href"><xsl:value-of > select="'stylesheets/tomcat.css'"/>/xsl:attribute> > <xsl:attribute name="rel"><xsl:value-of > select="'stylesheet'"/></xsl:attribute> > </link> > > A bit tedious to do, but it only has to be done once. > > If the attrributes are added using the order in the current HTML files > (which may not be the same as the XSL order), then subsequent > regeneration should not show any differences in the HTML files.
This assumes that the current HTML files have all been generated by the same Java version. However this is not the case, and the attribute order is not consistent. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org