forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r386143 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Date Wed, 15 Mar 2006 19:22:24 GMT
Author: thorsten
Date: Wed Mar 15 11:22:24 2006
New Revision: 386143

URL: http://svn.apache.org/viewcvs?rev=386143&view=rev
Log:
Fix FOR-833. The problem was that the dispatcher passed a SAX stream to next transformer (type=pattern),
this transformer however was awaiting text events.

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/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap?rev=386143&r1=386142&r2=386143&view=diff
==============================================================================
--- 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 Mar 15 11:22:24 2006
@@ -158,7 +158,8 @@
           />
         <map:serialize type="xhtml" />
       </map:match>
-      <map:match pattern="**.dispatcher.css">
+      
+      <map:match pattern="**.prepare.dispatcher.css">
         <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
           <map:parameter name="lenient-xpath" value="true" />
           <map:parameter name="getRequest" value="{1}" />
@@ -168,6 +169,10 @@
           <map:parameter name="request" value="{1}" />
           <map:parameter name="type" value="css" />
         </map:transform>
+        <map:serialize type="text" mime-type="text/css" />
+      </map:match>
+      <map:match pattern="**.dispatcher.css">
+        <map:generate type="text" src="cocoon:/{1}.prepare.dispatcher.css" />
         <map:transform type="pattern" 
           src="{forrest:context}/resources/chaperon/grammars/link.xlex" />
         <map:transform 



Mime
View raw message