Author: sevein
Date: Tue Oct 11 23:38:10 2011
New Revision: 10026

Log:
More on error docs

Modified:
   
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
   
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php

Modified: 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
==============================================================================
--- 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
       Tue Oct 11 23:37:41 2011        (r10025)
+++ 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
       Tue Oct 11 23:38:10 2011        (r10026)
@@ -0,0 +1,10 @@
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset', 
'UTF-8').'" ?>' ?>
+<sword:error
+  href="http://purl.org/net/sword/error/MAX_UPLOAD_SIZE_EXCEEDED";
+  xmlns:atom="http://www.w3.org/2005/Atom";
+  xmlns:sword="http://purl.org/net/sword/";>
+   <atom:summary type="text">The uploaded file exceeded the maximum file size 
this server will accept (the file is 2089kB but the server will only accept 
files as large as 2048kB)</atom:summary>
+   <atom:title type="text">ERROR</atom:title>
+   <atom:updated>2011-10-11T22:06:00.434Z</atom:updated>
+   <sword:userAgent>CASIS Test Client</sword:userAgent>
+</sword:error>

Modified: 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
==============================================================================
--- 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
        Tue Oct 11 23:37:41 2011        (r10025)
+++ 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
        Tue Oct 11 23:38:10 2011        (r10026)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset', 
'UTF-8').'" ?>' ?>
 <sword:error
   href="http://purl.org/net/sword/error/MAX_UPLOAD_SIZE_EXCEEDED";
   xmlns:atom="http://www.w3.org/2005/Atom";

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to