You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/06/28 15:57:06 UTC
svn commit: r417757 - in /lenya/trunk/src/modules/neutron:
checkin-exception.xml sitemap.xmap
Author: michi
Date: Wed Jun 28 06:57:06 2006
New Revision: 417757
URL: http://svn.apache.org/viewvc?rev=417757&view=rev
Log:
checkin exception added
Added:
lenya/trunk/src/modules/neutron/checkin-exception.xml
Modified:
lenya/trunk/src/modules/neutron/sitemap.xmap
Added: lenya/trunk/src/modules/neutron/checkin-exception.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/neutron/checkin-exception.xml?rev=417757&view=auto
==============================================================================
--- lenya/trunk/src/modules/neutron/checkin-exception.xml (added)
+++ lenya/trunk/src/modules/neutron/checkin-exception.xml Wed Jun 28 06:57:06 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 1999-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- TODO: Also see Neutron Spec ... -->
+<exception xmlns="http://www.wyona.org/neutron/1.0" type="checkin">
+ <message>Something went wrong during checkin ...</message>
+</exception>
Modified: lenya/trunk/src/modules/neutron/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/neutron/sitemap.xmap?rev=417757&r1=417756&r2=417757&view=diff
==============================================================================
--- lenya/trunk/src/modules/neutron/sitemap.xmap (original)
+++ lenya/trunk/src/modules/neutron/sitemap.xmap Wed Jun 28 06:57:06 2006
@@ -64,12 +64,12 @@
<map:match pattern="checkin" type="step">
<map:act type="reserved-checkin">
- <map:generate src="context://lenya/content/util/empty.xml"/>
- <map:serialize type="xml" status-code="424"/>
+ <map:generate src="checkin-excpetion.xml"/>
+ <map:serialize type="xml" status-code="500"/>
</map:act>
- <map:call function="put" />
+ <map:call function="put"/>
<map:generate src="context://lenya/content/util/empty.xml"/>
- <map:serialize type="xml" status-code="204" />
+ <map:serialize type="xml" status-code="200"/>
</map:match>
</map:pipeline>
</map:pipelines>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org