lenya/src/webapp/lenya xopus.xmap,1.4,1.5

"Gregor J. Rothfuss" <[email protected]> Tue, 13 May 2003 17:35:58 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya
In directory erbium:/tmp/cvs-serv7952/src/webapp/lenya

Modified Files:
	xopus.xmap 
Log Message:
adding type=500 to error handlers

Index: xopus.xmap
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/xopus.xmap,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** xopus.xmap	11 Apr 2003 12:24:38 -0000	1.4
--- xopus.xmap	13 May 2003 15:35:52 -0000	1.5
***************
*** 35,39 ****
          <map:read src="{global:xopus-resources}{1}.js" mime-type="text/javascript"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
--- 35,39 ----
          <map:read src="{global:xopus-resources}{1}.js" mime-type="text/javascript"/>
        </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
***************
*** 44,48 ****
          <map:read src="{global:xopus-resources}{1}.html" mime-type="text/html"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
--- 44,48 ----
          <map:read src="{global:xopus-resources}{1}.html" mime-type="text/html"/>
        </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
***************
*** 54,58 ****
          <map:serialize type="xml"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
--- 54,58 ----
          <map:serialize type="xml"/>
        </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
***************
*** 64,68 ****
          <map:serialize type="xml"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
--- 64,68 ----
          <map:serialize type="xml"/>
        </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
***************
*** 73,77 ****
          <map:read src="{global:xopus-resources}{1}.gif" mime-type="images/gif"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
--- 73,77 ----
          <map:read src="{global:xopus-resources}{1}.gif" mime-type="images/gif"/>
        </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
***************
*** 82,89 ****
          <map:read src="{global:xopus-resources}{1}.css" mime-type="text/css"/>
        </map:match>
!       <map:handle-errors>
          <map:serialize type="xml"/>
        </map:handle-errors>
      </map:pipeline>
  
   </map:pipelines>
--- 82,111 ----
          <map:read src="{global:xopus-resources}{1}.css" mime-type="text/css"/>
        </map:match>
!       <map:handle-errors type="500">
!         <map:serialize type="xml"/>
!       </map:handle-errors>
!     </map:pipeline>
!     
!     <!-- POST to Xopus: open and save -->
!     <map:pipeline>
!       <map:match pattern="XopusInterface">
!         <map:act type="xopushandler">
!           <map:generate src="{reqFilePath}"/>
!           <map:transform src="xslt/xopus/response.xsl">
!             <map:parameter name="reqId" value="{reqId}"/>
!             <map:parameter name="reqType" value="{reqType}"/>
!             <map:parameter name="reqFile" value="{reqFile}"/>
!             <map:parameter name="fileType" value="{fileType}"/>
!           </map:transform>
!           <map:serialize type="xml"/>
!         </map:act>
!         <map:generate src="content/xopus/error.xml"/>
!         <map:serialize type="xml"/>
!       </map:match>
!       <map:handle-errors type="500">
          <map:serialize type="xml"/>
        </map:handle-errors>
      </map:pipeline>
+     
  
   </map:pipelines>