forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1527158 - /forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt
Date Sat, 28 Sep 2013 06:46:03 GMT
Author: crossley
Date: Sat Sep 28 06:46:03 2013
New Revision: 1527158

URL: http://svn.apache.org/r1527158
Log:
Add the svg document type declaration for the svg2png corners pipeline. Need to do this via
the stylesheet because this pipeline does not use the svgxml serializer.
Issue: FOR-1241

Modified:
    forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt

Modified: forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt?rev=1527158&r1=1527157&r2=1527158&view=diff
==============================================================================
--- forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt
(original)
+++ forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt
Sat Sep 28 06:46:03 2013
@@ -43,6 +43,7 @@
     <xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of
select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if>
   </xsl:variable>
   <xsl:template match="skinconfig">
+    <xsl:text disable-output-escaping='yes'><![CDATA[<!DOCTYPE svg PUBLIC "-//W3C//DTD
SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">]]></xsl:text>
     <svg width="{$isize}" height="{$isize}">
 <!-- background-->
       <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>



Mime
View raw message