You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/04/01 01:08:04 UTC

svn commit: r159649 - forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl

Author: rgardler
Date: Thu Mar 31 15:08:04 2005
New Revision: 159649

URL: http://svn.apache.org/viewcvs?view=rev&rev=159649
Log:
handle non-standard intermediate format from OOo (temporary wokraround see issue FOR-433) - thanks to Florian G. Haas

Modified:
    forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl

Modified: forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl?view=diff&r1=159648&r2=159649
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl Thu Mar 31 15:08:04 2005
@@ -954,4 +954,16 @@
    </fo:block>
  </xsl:template>
 
+<!-- ====================================================================== -->
+<!-- Temporary section - subject to change on short notice  -->
+<!-- ====================================================================== -->
+
+ <xsl:template match="//style"> 
+   <!-- HACK: The OpenOffice.org input plugin currently produces
+   intermediate documents that contain a style element, invalid per
+   the Forrest Document DTD. This style element must be ignored
+   here. To find out why this is done this way, read the comments
+   attached to issue FOR-433. -->
+ </xsl:template>
+
 </xsl:stylesheet>