You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2012/03/27 12:31:33 UTC

svn commit: r1305805 - /lenya/contributions/2_0_X/modules/atom/sitemap.xmap

Author: andreas
Date: Tue Mar 27 10:31:32 2012
New Revision: 1305805

URL: http://svn.apache.org/viewvc?rev=1305805&view=rev
Log:
Use serializer instead of reader to ensure that the ContentType header contains the charset information. This avoids charset issues with the Firedocs editor.

Modified:
    lenya/contributions/2_0_X/modules/atom/sitemap.xmap

Modified: lenya/contributions/2_0_X/modules/atom/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/atom/sitemap.xmap?rev=1305805&r1=1305804&r2=1305805&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/atom/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/modules/atom/sitemap.xmap Tue Mar 27 10:31:32 2012
@@ -53,7 +53,8 @@
     <map:pipeline type="noncaching">
       
       <map:match pattern="view/content.xml">
-        <map:read mime-type="application/xml" src="lenya-document:"/>
+        <map:generate src="lenya-document:"/>
+        <map:serialize type="xml"/>
       </map:match>
       
       <!--



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org