From f7e044632224266be86648ec5059d5881ba7dc63 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Mon, 9 Mar 2009 22:12:28 +0000 Subject: [PATCH] CSPACE-12, CSPACE-13, CSPACE-20: Revised the service's response schema and corresponding example document, and renamed both documents to 'serviceErrorResponse', to reflect that CSpace services will only return these responses upon error, not upon success. Minor revision to datatype for objectNumber in defaultCollectionObject. --- .../aron/schema/defaultCollectionObject.rng | 15 ++- sandbox/aron/schema/serviceErrorResponse.rng | 48 ++++++++ sandbox/aron/schema/serviceErrorResponse.xml | 25 ++++ sandbox/aron/schema/serviceResponse.rng | 114 ------------------ sandbox/aron/schema/serviceResponse.xml | 33 ----- 5 files changed, 84 insertions(+), 151 deletions(-) create mode 100644 sandbox/aron/schema/serviceErrorResponse.rng create mode 100644 sandbox/aron/schema/serviceErrorResponse.xml delete mode 100644 sandbox/aron/schema/serviceResponse.rng delete mode 100644 sandbox/aron/schema/serviceResponse.xml diff --git a/sandbox/aron/schema/defaultCollectionObject.rng b/sandbox/aron/schema/defaultCollectionObject.rng index 10166a0ed..368279864 100644 --- a/sandbox/aron/schema/defaultCollectionObject.rng +++ b/sandbox/aron/schema/defaultCollectionObject.rng @@ -39,10 +39,17 @@ - - - - + + + 1 + diff --git a/sandbox/aron/schema/serviceErrorResponse.rng b/sandbox/aron/schema/serviceErrorResponse.rng new file mode 100644 index 000000000..2af483540 --- /dev/null +++ b/sandbox/aron/schema/serviceErrorResponse.rng @@ -0,0 +1,48 @@ + + + + + + + + + + + 1 + + + + + + + + + + + + diff --git a/sandbox/aron/schema/serviceErrorResponse.xml b/sandbox/aron/schema/serviceErrorResponse.xml new file mode 100644 index 000000000..2904c361e --- /dev/null +++ b/sandbox/aron/schema/serviceErrorResponse.xml @@ -0,0 +1,25 @@ + + + + + + + 1005 + + diff --git a/sandbox/aron/schema/serviceResponse.rng b/sandbox/aron/schema/serviceResponse.rng deleted file mode 100644 index d7adbf320..000000000 --- a/sandbox/aron/schema/serviceResponse.rng +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sandbox/aron/schema/serviceResponse.xml b/sandbox/aron/schema/serviceResponse.xml deleted file mode 100644 index f1d48fbcd..000000000 --- a/sandbox/aron/schema/serviceResponse.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - 1005 - - - - foo - -- 2.47.3