forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject svn commit: r160289 - forrest/trunk/main/webapp/forrest.xmap
Date Wed, 06 Apr 2005 12:23:01 GMT
Author: cheche
Date: Wed Apr  6 05:23:01 2005
New Revision: 160289

URL: http://svn.apache.org/viewcvs?view=rev&rev=160289
Log:
This code is not longer needed.

Modified:
    forrest/trunk/main/webapp/forrest.xmap

Modified: forrest/trunk/main/webapp/forrest.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/forrest.xmap?view=diff&r1=160288&r2=160289
==============================================================================
--- forrest/trunk/main/webapp/forrest.xmap (original)
+++ forrest/trunk/main/webapp/forrest.xmap Wed Apr  6 05:23:01 2005
@@ -240,48 +240,6 @@
         </map:select>
       </map:act>
     </map:resource>
-    <map:resource name="file-resolver">
-      <map:select type="exists">
-        <map:when test="{project:content.xdocs}{uri}.ihtml">
-          <map:generate src="{project:content.xdocs}{uri}.ihtml" type="html" />
-          <map:transform src="{forrest:stylesheets}/html2document.xsl" />
-          <map:transform type="idgen" />
-          <map:serialize type="xml-document"/>
-        </map:when>
-        <map:when test="{project:content.xdocs}{uri}.html">
-          <map:generate src="{project:content.xdocs}{uri}.html" type="html" />
-          <map:transform src="{forrest:stylesheets}/html2document.xsl" />
-          <map:transform type="idgen" />
-          <map:serialize type="xml-document"/>
-        </map:when>        
-        <map:when test="{project:content.xdocs}{uri}.txt">
-          <map:match type="regexp" pattern="^(.*?)([^/]*).xml$">
-            <map:generate type="text2xml" src="{project:content.xdocs}{1}{2}.txt" />
-            <map:transform src="{forrest:stylesheets}/text2document.xsl">
-              <map:parameter name="filename" value="{2}" />
-            </map:transform>
-            <map:serialize type="xml-document"/>
-          </map:match>
-        </map:when>
-        <map:otherwise>
-        
-          <map:select type="exists">
-             <map:when test="{project:temp-dir}/input.xmap">
-               <map:mount uri-prefix="" 
-                          src="{project:temp-dir}/input.xmap" 
-                          check-reload="yes" 
-                          pass-through="true"/>
-            </map:when>  
-          </map:select>
-        
-          <map:generate src="{project:content.xdocs}{uri}.xml" />
-          <map:call resource="transform-to-document">
-            <map:parameter name="src" value="{project:content.xdocs}{uri}.xml" />
-          </map:call>
-          <map:serialize type="xml-document"/>
-        </map:otherwise>
-      </map:select>
-    </map:resource>
   </map:resources>
 
   <map:pipelines>



Mime
View raw message