cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/xsp/samples sitemap.xmap
Date Fri, 02 Apr 2004 21:09:15 GMT
joerg       2004/04/02 13:09:15

  Modified:    src/blocks/xsp/samples sitemap.xmap
  Log:
  fixed view-source, this got broken when being moved from samples sitemap
  
  Revision  Changes    Path
  1.5       +10 -1     cocoon-2.1/src/blocks/xsp/samples/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xsp/samples/sitemap.xmap,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- sitemap.xmap	11 Mar 2004 16:25:49 -0000	1.4
  +++ sitemap.xmap	2 Apr 2004 21:09:15 -0000	1.5
  @@ -16,6 +16,15 @@
   -->
   
   <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
  +  <map:components>
  +    <map:matchers default="wildcard">
  +      <map:matcher logger="sitemap.matcher.header" name="filename" src="org.apache.cocoon.matching.modular.CachingRegexpMatcher">
  +        <input-module name="request-param">
  +           <parameter>filename</parameter>
  +        </input-module>
  +      </map:matcher>
  +    </map:matchers>
  +  </map:components>
   
   <!-- =========================== Views =================================== -->
   
  @@ -96,7 +105,7 @@
   	<map:pipeline internal-only="true">
         <map:match pattern="view-source">
           <!-- colourize files that are known to be XML -->
  -        <map:match type="regexp" pattern="((xml)|(xsp)|(xmap)|(xconf))$">
  +        <map:match type="filename" pattern="((xml)|(xsp)|(xmap)|(xconf))$">
             <map:generate src="util/view-source.xsp" type="serverpages"/>
             <map:serialize/>
           </map:match>
  
  
  

Mime
View raw message