forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 36810 - forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images
Date Tue, 24 Aug 2004 08:06:36 GMT
Author: crossley
Date: Tue Aug 24 01:06:35 2004
New Revision: 36810

Modified:
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/group.svg
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/project.svg
Log:
Avoid the error message which arises from using an SVG file as a
Cocoon transformer. This uses the XSLT "Literal Result Element" facility
which requires declaration of the xslt namespace and the "xsl:version"
attribute.
Xalan error message:
javax.xml.transform.TransformerException: stylesheet requires attribute: version
Saxon error message:
javax.xml.transform.TransformerConfigurationException: The supplied file does
not appear to be a stylesheet 


Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/group.svg
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/group.svg	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/group.svg	Tue
Aug 24 01:06:35 2004
@@ -35,6 +35,8 @@
 -->
 <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
      xmlns:for="http://xml.apache.org/forrest"
      width="220" height="65" >
   <title>Anteater logo</title>

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/project.svg
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/project.svg	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/images/project.svg	Tue
Aug 24 01:06:35 2004
@@ -35,6 +35,8 @@
 -->
 <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
      xmlns:for="http://xml.apache.org/forrest"
      width="220" height="65" >
   <title>Anteater logo</title>

Mime
View raw message