[Osr-101] rev 14580 - public/osr-101/trunk

michi at wyona.com michi at wyona.com
Fri Jun 23 16:43:04 CEST 2006


Author: michi
Date: 2006-06-23 16:43:03 +0200 (Fri, 23 Jun 2006)
New Revision: 14580

Modified:
   public/osr-101/trunk/osr-101.xhtml
Log:
exception added

Modified: public/osr-101/trunk/osr-101.xhtml
===================================================================
--- public/osr-101/trunk/osr-101.xhtml	2006-06-23 14:33:03 UTC (rev 14579)
+++ public/osr-101/trunk/osr-101.xhtml	2006-06-23 14:43:03 UTC (rev 14580)
@@ -345,6 +345,7 @@
 
 <exception xmlns="http://www.wyona.org/neutron/1.0" type="checkout">
   <message>Document has already been checked-out by ...</message>
+
   <checkout url="/hello/world.html">
     <locked-by>Jimi Hendrix</locked-by>
     <lock-date format="standard">1969.10.03T15:34:26</lock-date>
@@ -396,7 +397,7 @@
 </p>
 
 <p>
-If the server cannot save the data, then it should return HTTP Status Code 500 and a message.
+If the server cannot save the data, then it should return <a href="http://www.w3.org/Protocols/HTTP/HTRESP.html">HTTP Status Code 500</a> and a message.
 </p>
 
 <p>
@@ -406,17 +407,36 @@
 
 <exception xmlns="http://www.wyona.org/neutron/1.0" type="checkin">
   <message>Checkin failed, because document has been checked-out by ...</message>
-  <save url="/hello/world.html">
+
+  <checkin url="/hello/world.html">
     <locked-by>Jimi Hendrix</locked-by>
     <lock-date format="standard">1969.10.03T15:34:26</lock-date>
     <!-- Optional. Depending on server implementation -->
     <break-lock url="/hello/world.html?yanel.resource.usecase=break-lock"/>
-  </save>
+  </checkin>
 </exception>
 ]]>
 </pre>
 </p>
 
+<p>If the server has trouble saving the data, e.g.</p>
+
+<p>
+<pre>
+<![CDATA[
+<?xml version="1.0"?>
+
+<exception xmlns="http://www.wyona.org/neutron/1.0" type="data-not-well-formed">
+  <message>Received data is not well-formed XML ...</message>
+
+  <data-not-well-formed url="/hello/world.html">
+    <line number="45" message="element not closed"/>
+  </data-not-well-formed>
+</exception>
+]]>
+</pre>
+</p>
+
         <a name="editing-save-as"/>
         <h2>Save As</h2>
         <p>




More information about the Osr-101 mailing list