[jboss-svn-commits] JBL Code SVN: r18049 - labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jan 23 06:35:47 EST 2008


Author: newtonm
Date: 2008-01-23 06:35:46 -0500 (Wed, 23 Jan 2008)
New Revision: 18049

Modified:
   labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-eclipse.xsl
   labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-html.xsl
   labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/nochunk-html.xsl
Log:
Fixed bug where the first page of a chunked output didn't use xhtml-strict.

Modified: labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-eclipse.xsl
===================================================================
--- labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-eclipse.xsl	2008-01-23 11:18:32 UTC (rev 18048)
+++ labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-eclipse.xsl	2008-01-23 11:35:46 UTC (rev 18049)
@@ -21,6 +21,14 @@
 <xsl:include href="redhat.xsl"/>
 <xsl:include href="xhtml-common.xsl"/>
 
+<!-- This is needed to generate the correct xhtml-strict DOCTYPE on the page -->
+<xsl:output method="xml"
+            encoding="UTF-8"
+            indent="yes"
+            doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+            standalone="no"/>
+
 <!-- We need to add this as it's needed later for a check -->
 <xsl:param name="confidential" select="0"/>
 

Modified: labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-html.xsl
===================================================================
--- labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-html.xsl	2008-01-23 11:18:32 UTC (rev 18048)
+++ labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/main-html.xsl	2008-01-23 11:35:46 UTC (rev 18049)
@@ -29,6 +29,14 @@
 <xsl:param name="chunk.first.sections" select="1"/>
 <xsl:param name="chunk.toc" select="''"/>
 
+<!-- This is needed to generate the correct xhtml-strict DOCTYPE on the page -->
+<xsl:output method="xml"
+            encoding="UTF-8"
+            indent="yes"
+            doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+            standalone="no"/>
+
 <!--
 From: xhtml/footnote.xsl
 Reason: remove inline css from hr

Modified: labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/nochunk-html.xsl
===================================================================
--- labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/nochunk-html.xsl	2008-01-23 11:18:32 UTC (rev 18048)
+++ labs/jbosslabs/trunk/doc/jbossorg-docbook-xslt/src/main/resources/xslt/org/jboss/nochunk-html.xsl	2008-01-23 11:35:46 UTC (rev 18049)
@@ -19,6 +19,14 @@
 	<xsl:include href="xhtml-common.xsl"/>
     <xsl:param name="confidential" select="0"/>
 
+<!-- This is needed to generate the correct xhtml-strict DOCTYPE on the page -->
+<xsl:output method="xml"
+            encoding="UTF-8"
+            indent="yes"
+            doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+            standalone="no"/>
+
 <!--
 From: xhtml/titlepage-templates.xsl
 Reason: Needed to add JBoss.org and Community Documentation graphics to header




More information about the jboss-svn-commits mailing list