forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r504468 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Date Wed, 07 Feb 2007 09:04:52 GMT
Author: thorsten
Date: Wed Feb  7 01:04:51 2007
New Revision: 504468

URL: http://svn.apache.org/viewvc?view=rev&rev=504468
Log:
Switching the dispatcher format internal, fo and svg  to serialize utf-8.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap?view=diff&rev=504468&r1=504467&r2=504468
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Wed Feb  7 01:04:51 2007
@@ -63,7 +63,7 @@
         <cache-at-startup>true</cache-at-startup>
       </map:transformer>
     </map:transformers>
-    <map:serializers default="xml">
+    <map:serializers default="xml-utf8">
       <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" 
         name="xhtml" pool-grow="2" pool-max="64" pool-min="2" 
         src="org.apache.cocoon.serialization.XMLSerializer">
@@ -80,6 +80,9 @@
         <!-- <parameter name="gamma" type="float" value="0.48"/> -->
         <parameter name="gamma" type="float" value="0" />
       </map:serializer>
+      <map:serializer name="xml-utf8" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer">
+        <encoding>UTF-8</encoding>
+      </map:serializer>
     </map:serializers>
     <map:actions>
       <map:action name="locale" src="org.apache.cocoon.acting.LocaleAction" />
@@ -182,7 +185,7 @@
           <map:parameter name="request" value="{1}" />
           <map:parameter name="type" value="fo" />
         </map:transform>
-        <map:serialize type="xml" />
+        <map:serialize  />
       </map:match>
       <map:match pattern="**.internal*">
         <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
@@ -198,7 +201,7 @@
           <map:parameter name="request" value="{1}" />
           <map:parameter name="type" value="internal{2}" />
         </map:transform>
-        <map:serialize type="xml" />
+        <map:serialize  />
       </map:match>
       <map:match pattern="**.prepare.dispatcher.css">
         <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
@@ -239,7 +242,7 @@
           <map:parameter name="request" value="{1}" />
           <map:parameter name="type" value="xhtml2" />
         </map:transform>
-        <map:serialize type="xml"/>
+        <map:serialize />
       </map:match>
     </map:pipeline>
     <map:pipeline>



Mime
View raw message