lenya/src/webapp/lenya/pubs/default publication-sitemap.xmap,1.29,1.30

Edith Chevrier <[email protected]> Wed, 14 May 2003 19:01:40 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /usr/local/repositories/lenya/src/webapp/lenya/pubs/default
In directory erbium:/tmp/cvs-serv30932/src/webapp/lenya/pubs/default

Modified Files:
	publication-sitemap.xmap 
Log Message:
Handle error: work in progress

Index: publication-sitemap.xmap
===================================================================
RCS file: /usr/local/repositories/lenya/src/webapp/lenya/pubs/default/publication-sitemap.xmap,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** publication-sitemap.xmap	14 May 2003 14:00:04 -0000	1.29
--- publication-sitemap.xmap	14 May 2003 17:01:37 -0000	1.30
***************
*** 9,14 ****
      <map:matchers default="wildcard"/>
      <map:actions />
    </map:components>
! 
    <map:views>
      <map:view name="aggregation" from-label="aggregation">
--- 9,22 ----
      <map:matchers default="wildcard"/>
      <map:actions />
+ <!--
+   <map:selectors>
+   <map:selector name="exception" logger="sitemap.selector.exception" src="org.apache.cocoon.selection.ExceptionSelector">
+     <exception name="execution" class="org.apache.lenya.cms.task.ExecutionException" />
+     <exception name="publishing" class="org.apache.lenya.cms.publishing.PublishingException"/>
+     <exception name="sitetree" class="org.apache.lenya.cms.publication.SiteTreeException"/>
+   </map:selector>
+   </map:selectors>
    </map:components>
! -->
    <map:views>
      <map:view name="aggregation" from-label="aggregation">
***************
*** 40,43 ****
--- 48,61 ----
          </map:match>
        </map:match>
+ <!--
+         <map:handle-errors>
+           <map:select type="exception">  
+             <map:when test="publishing">
+               <map:generate src= "sitetreeException.xml"/> 
+             </map:when>  
+           </map:select>  
+           <map:serialize/>
+         </map:handle-errors>
+ -->
      </map:pipeline>
      <!-- /Publisher  -->