Author: sevein
Date: Mon Oct 17 14:24:50 2011
New Revision: 10122
Log:
Complete all SWORD error docs
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorBadRequestSuccess.xml.php
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorChecksumMismatchSuccess.xml.php
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/MediationNotAllowedSuccess.xml.php
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/TargetOwnerUnknown.xml.php
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorBadRequestSuccess.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorBadRequestSuccess.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorBadRequestSuccess.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -0,0 +1,18 @@
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset',
'UTF-8').'" ?>' ?>
+<sword:error href="http://purl.org/net/sword/error/ErrorBadRequest"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
+</sword:error>
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorChecksumMismatchSuccess.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorChecksumMismatchSuccess.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorChecksumMismatchSuccess.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -0,0 +1,18 @@
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset',
'UTF-8').'" ?>' ?>
+<sword:error
href="http://purl.org/net/sword/error/ErrorChecksumMismatchSuccess"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
+</sword:error>
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorContentSuccess.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -1,10 +1,18 @@
<?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 href="http://purl.org/net/sword/error/ErrorContent"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
</sword:error>
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/ErrorMaxUploadSizeExceeded.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -1,10 +1,18 @@
<?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 href="http://purl.org/net/sword/error/ErrorMaxUploadSizeExceeded"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
</sword:error>
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/MediationNotAllowedSuccess.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/MediationNotAllowedSuccess.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/MediationNotAllowedSuccess.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -0,0 +1,18 @@
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset',
'UTF-8').'" ?>' ?>
+<sword:error href="http://purl.org/net/sword/error/MediationNotAllowed"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
+</sword:error>
Modified:
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/TargetOwnerUnknown.xml.php
==============================================================================
---
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/TargetOwnerUnknown.xml.php
Sun Oct 16 19:55:13 2011 (r10121)
+++
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/error/TargetOwnerUnknown.xml.php
Mon Oct 17 14:24:50 2011 (r10122)
@@ -0,0 +1,18 @@
+<?php echo '<?xml version="1.0" encoding="'.sfConfig::get('sf_charset',
'UTF-8').'" ?>' ?>
+<sword:error href="http://purl.org/net/sword/error/TargetOwnerUnknown"
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:sword="http://purl.org/net/sword/">
+
+ <summary type="text"><?php echo $summary ?></summary>
+
+ <title type="text">ERROR</title>
+
+ <updated><?php $dt = new DateTime(); echo $dt->format('c'); ?></updated>
+
+ <generator uri="<?php echo url_for('@homepage', true) ?>" version="<?php
echo qubitConfiguration::VERSION ?>">Qubit <?php echo
qubitConfiguration::VERSION ?></generator>
+
+ <sword:userAgent><?php echo $_SERVER['HTTP_USER_AGENT'] ?></sword:userAgent>
+
+ <link rel="alternate"
href="http://www.qubit-toolkit.org/wiki/index.php?title=SWORD"
type="text/html"/>
+
+</sword:error>
--
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.