svn commit: r595270 - in /lenya/trunk/src: modules-core/linking/config/sitemap/transformers.xmap webapp/lenya/module-resources.xmap
[email protected] Thu, 15 Nov 2007 11:28:46 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Thu Nov 15 03:28:45 2007
New Revision: 595270
URL: http://svn.apache.org/viewvc?rev=595270&view=rev
Log:
Using dedicated proxy transformer for Relax NG namespace.
Modified:
lenya/trunk/src/modules-core/linking/config/sitemap/transformers.xmap
lenya/trunk/src/webapp/lenya/module-resources.xmap
Modified: lenya/trunk/src/modules-core/linking/config/sitemap/transformers.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/linking/config/sitemap/transformers.xmap?rev=595270&r1=595269&r2=595270&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/linking/config/sitemap/transformers.xmap (original)
+++ lenya/trunk/src/modules-core/linking/config/sitemap/transformers.xmap Thu Nov 15 03:28:45 2007
@@ -48,8 +48,6 @@
<transform namespace="http://www.w3.org/1999/xhtml" element="link" attribute="href"/>
<transform namespace="http://www.w3.org/1999/xhtml" element="form" attribute="action"/>
<transform namespace="http://www.w3.org/1999/xhtml" element="script" attribute="src"/>
-<!-- temporary fix for bxe. should be reconsidered -->
- <transform namespace="http://relaxng.org/ns/structure/1.0" element="include" attribute="href"/>
</map:transformer>
<map:transformer name="incoming-proxy" logger="lenya.sitemap.transformer.incoming-proxy"
Modified: lenya/trunk/src/webapp/lenya/module-resources.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/module-resources.xmap?rev=595270&r1=595269&r2=595270&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/module-resources.xmap (original)
+++ lenya/trunk/src/webapp/lenya/module-resources.xmap Thu Nov 15 03:28:45 2007
@@ -19,6 +19,16 @@
<!-- $Id: resources-shared.xmap 349588 2005-11-29 02:07:44Z chestnut $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+ <map:components>
+ <map:transformers default="xslt">
+ <!-- temporary fix for bxe. should be reconsidered -->
+ <map:transformer name="proxy-rng" logger="lenya.sitemap.transformer.proxy"
+ src="org.apache.lenya.cms.cocoon.transformation.ProxyTransformer">
+ <transform namespace="http://relaxng.org/ns/structure/1.0" element="include" attribute="href"/>
+ </map:transformer>
+ </map:transformers>
+ </map:components>
<map:resources>
<map:resource name="proxy-css">
@@ -72,7 +82,7 @@
<map:transform src="fallback://lenya/xslt/resources/translate-rng-includes.xsl">
<map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
</map:transform>
- <map:transform type="proxy"/>
+ <map:transform type="proxy-rng"/>
<map:serialize type="xml"/>
</map:match>
<map:match type="regexp" pattern="(.*\.)(jpg|JPG|Jpg|jpeg|Jpeg|JPEG)$">