You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/15 12:28:46 UTC
svn commit: r595270 - in /lenya/trunk/src:
modules-core/linking/config/sitemap/transformers.xmap
webapp/lenya/module-resources.xmap
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)$">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org
Re: svn commit: r595270 - in /lenya/trunk/src: modules-core/linking/config/sitemap/transformers.xmap
webapp/lenya/module-resources.xmap
Posted by Jörn Nettingsmeier <ne...@apache.org>.
andreas@apache.org wrote:
> 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.
thanks, much cleaner!
--
Jörn Nettingsmeier
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org