You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2004/10/28 23:10:40 UTC
svn commit: rev 55893 - forrest/trunk/forrestcore/src/core/context
Author: rgardler
Date: Thu Oct 28 14:10:39 2004
New Revision: 55893
Modified:
forrest/trunk/forrestcore/src/core/context/sitemap.xmap
Log:
Load plugin sitemaps after skinconf.xml is processed so that a plugin can match all other XML files
Modified: forrest/trunk/forrestcore/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/forrestcore/src/core/context/sitemap.xmap (original)
+++ forrest/trunk/forrestcore/src/core/context/sitemap.xmap Thu Oct 28 14:10:39 2004
@@ -27,6 +27,10 @@
<map:components>
<map:generators default="file">
<map:generator name="file" src="org.apache.cocoon.generation.FileGenerator" />
+ <map:generator name="html"
+ src="org.apache.cocoon.generation.HTMLGenerator">
+ <jtidy-config>WEB-INF/jtidy.properties</jtidy-config>
+ </map:generator>
<map:generator name="exception"
src="org.apache.cocoon.generation.ParseExceptionGenerator"/>
<!--
@@ -345,17 +349,6 @@
</map:when>
</map:select>
</map:pipeline>
-
- <map:pipeline internal-only="false">
- <map:select type="exists">
- <map:when test="{forrest:plugins}/sitemap.xmap">
- <map:mount uri-prefix=""
- src="{forrest:plugins}/sitemap.xmap"
- check-reload="yes"
- pass-through="true"/>
- </map:when>
- </map:select>
- </map:pipeline>
<map:pipeline internal-only="false">
<map:match pattern="skinconf.xml">
@@ -383,6 +376,17 @@
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
+
+ <map:pipeline internal-only="false">
+ <map:select type="exists">
+ <map:when test="{forrest:plugins}/sitemap.xmap">
+ <map:mount uri-prefix=""
+ src="{forrest:plugins}/sitemap.xmap"
+ check-reload="yes"
+ pass-through="true"/>
+ </map:when>
+ </map:select>
+ </map:pipeline>
<map:pipeline internal-only="false">
<!-- ============================================================ -->