You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ch...@apache.org on 2005/04/06 14:23:01 UTC

svn commit: r160289 - forrest/trunk/main/webapp/forrest.xmap

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>