db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1375956 - in /db/derby/docs/trunk/lib: dita2htmlImpl.xsl map2htmtoc.xsl
Date Wed, 22 Aug 2012 09:29:48 GMT
Author: kahatlen
Date: Wed Aug 22 09:29:47 2012
New Revision: 1375956

URL: http://svn.apache.org/viewvc?rev=1375956&view=rev
Log:
DERBY-5905: Derby html documentation doesn't render properly and prints garbage on Internet
Explorer

Bring back the lang and xml:lang attributes that disappeared after the
original fix.

Modified:
    db/derby/docs/trunk/lib/dita2htmlImpl.xsl
    db/derby/docs/trunk/lib/map2htmtoc.xsl

Modified: db/derby/docs/trunk/lib/dita2htmlImpl.xsl
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/lib/dita2htmlImpl.xsl?rev=1375956&r1=1375955&r2=1375956&view=diff
==============================================================================
--- db/derby/docs/trunk/lib/dita2htmlImpl.xsl (original)
+++ db/derby/docs/trunk/lib/dita2htmlImpl.xsl Wed Aug 22 09:29:47 2012
@@ -3718,6 +3718,7 @@
 <xsl:template name="chapter-setup">
 <xsl:value-of select="$newline"/>
 <html>
+  <xsl:call-template name="setTopicLanguage"/>
   <xsl:value-of select="$newline"/>
 <xsl:comment>
   Licensed to the Apache Software Foundation (ASF) under one or more
@@ -3735,7 +3736,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 </xsl:comment>
-  <xsl:call-template name="setTopicLanguage"/>
   <xsl:value-of select="$newline"/>
   <xsl:call-template name="chapterHead"/>
   <xsl:call-template name="chapterBody"/> 

Modified: db/derby/docs/trunk/lib/map2htmtoc.xsl
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/lib/map2htmtoc.xsl?rev=1375956&r1=1375955&r2=1375956&view=diff
==============================================================================
--- db/derby/docs/trunk/lib/map2htmtoc.xsl (original)
+++ db/derby/docs/trunk/lib/map2htmtoc.xsl Wed Aug 22 09:29:47 2012
@@ -54,6 +54,7 @@
 <xsl:template match="/">
 <xsl:value-of select="$newline"/>
   <html>
+    <xsl:call-template name="setTocLanguage"/>
     <xsl:value-of select="$newline"/>
 <xsl:comment>
   Licensed to the Apache Software Foundation (ASF) under one or more
@@ -71,7 +72,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 </xsl:comment>
-    <xsl:call-template name="setTocLanguage"/>
     <xsl:value-of select="$newline"/>
   <head><xsl:value-of select="$newline"/>
       <xsl:call-template name="generateCharset"/>   <!-- Set the character set to
UTF-8 -->



Mime
View raw message