forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r373237 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
Date Sat, 28 Jan 2006 20:01:29 GMT
Author: thorsten
Date: Sat Jan 28 12:01:16 2006
New Revision: 373237

URL: http://svn.apache.org/viewcvs?rev=373237&view=rev
Log:
Removing obsolete code (FOR-798)

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=373237&r1=373236&r2=373237&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
Sat Jan 28 12:01:16 2006
@@ -51,13 +51,9 @@
 <map:generator label="content" logger="sitemap.generator.xpathdirectory" name="xpathdirectory"
src="org.apache.cocoon.generation.XPathDirectoryGenerator"/>
       <map:generator name="directory"
         src="org.apache.cocoon.generation.DirectoryGenerator" />
-      <!--map:generator name="jx" logger="sitemap.generator.jx" 
-        src="org.apache.cocoon.template.JXTemplateGenerator" 
-        label="content,data" pool-max="16"-->
       <map:generator name="jx" logger="sitemap.generator.jx"
         src="org.apache.cocoon.generation.JXTemplateGenerator"
         label="content,data" pool-max="16" />
-
     </map:generators>
     <map:transformers default="xslt">
       <map:transformer logger="sitemap.transformer.jx" name="jx"
@@ -71,30 +67,6 @@
         src="org.apache.cocoon.transformation.XIncludeTransformer" />
       <map:transformer name="dispatcher"
         src="org.apache.forrest.dispatcher.transformation.DispatcherTransformer" />
-          
-      <!-- Rewrites links, e.g. transforming href="site:index" to href="../index.html"
-->
-      <!-- See http://forrest.apache.org/docs/sitemap-ref.html#linkrewriting_impl -->
-      <!--<map:transformer name="linkrewriter"
-        logger="sitemap.transformer.linkrewriter"
-        src="org.apache.cocoon.transformation.LinkRewriterTransformer">
-        <link-attrs>href src</link-attrs>
-        <schemes>site ext lm</schemes>
-        <input-module name="lm" />
-        <input-module name="site">
-          <input-module name="linkmap">
-            <file src="{src}" reloadable="true" />
-          </input-module>
-          <prefix>/site//</prefix>
-          <suffix>/@href</suffix>
-        </input-module>
-        <input-module name="ext">
-          <input-module name="linkmap">
-            <file src="{src}" reloadable="true" />
-          </input-module>
-          <prefix>/site/external-refs//</prefix>
-          <suffix>/@href</suffix>
-        </input-module>
-      </map:transformer>-->
     </map:transformers>
     <map:serializers default="xml">
       <map:serializer logger="sitemap.serializer.xhtml"
@@ -181,45 +153,7 @@
         <map:serialize />
       </map:match>
     </map:pipeline>
-    
-    <map:pipeline>
-      <!--
-        Aggregate the forrest:properties requested by the *.fv.
-        The result is an aggregation of properties which defines the templates to be call.
-        {1} - format
-        {2} - requested url
-      -->
-      <map:match pattern="prepare.structurer-properties.*.**">
-        <map:generate src="{lm:structurer.{1}.{2}}" />
-        <map:transform src="{lm:structurer-properties-includes.xsl}">
-          <map:parameter name="format" value="{1}" />
-        </map:transform> 
-        <map:transform type="cinclude" />
-        <map:serialize />
-      </map:match>
-    </map:pipeline>
-    <map:pipeline>
-    <!--
-        Aggregate all contracts-templates requested by the view.
-        The result is a stylesheet with all needed xsl:templates.
-        Creates all xsl that can be used for the last step of the transformation.
-        {1} - format
-        {2} - requested url
-      -->
-      <map:match pattern="structurer-xsl.*.**">
-        <map:aggregate element="filter">
-          <map:part src="{lm:structurer.{1}.{2}}" />
-          <map:part src="{lm:structurer-properties.{1}.{2}}" />
-        </map:aggregate>
-        <map:transform src="{lm:structurer-final-xsl-{1}.xsl}">
-          <map:parameter name="request" value="{2}" />
-          <map:parameter name="forrestContext"
-            value="{forrest:context}" />
-        </map:transform>
-        <map:serialize />
-      </map:match>
-    </map:pipeline>
-<map:pipeline>
+   <map:pipeline>
       <!--
         Last processing step. 
         Here we are overriding the default skin generation.
@@ -248,21 +182,6 @@
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
-
-<!--      <map:match pattern="**.html">
-        <map:generate src="{lm:structurer.html.{1}}" />
-        <map:transform src="{lm:structurer-xsl.html.{1}.xsl}">
-          <map:parameter name="path" value="{0}" />
-        </map:transform>
-        <!-#- WORKAROUND The following transfomer are responsible for generating links
for inline css It produces non valid css!!!-#->
-        <!-#- FIXME make contracts self containing and open them for css-#->
-        <map:transform type="pattern"
-        src="{forrest:context}/resources/chaperon/grammars/link.xlex" />
-      <map:transform
-        src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" />
-         <map:transform src="{lm:transform.xml.xml-namespace-stripped}" /> 
-        <map:serialize type="xhtml" />
-      </map:match>-->
     </map:pipeline>
   </map:pipelines>
 </map:sitemap>



Mime
View raw message