From 8fc285409d5b95a83f7acb9ba831763c88b5844d Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Sat, 19 Nov 2011 00:05:18 +0000 Subject: [PATCH] CSPACE-3937,CSPACE-4490: In services Cataloging / CollectionObject schema, converted contentDate to a structured date; was formerly a scalar date field. Made the existing objectProductionDateGroup structured date field repeatable, renaming the parent element to objectProductionDateGroupList. Removed a legacy top-level set of scalar fields, believed to be unused, that appear to constitute an early prototype or placeholder for structured date. --- .../schemas/collectionobjects_common.xsd | 135 ++++++++---------- .../resources/collectionobjects_common.xsd | 123 ++++++++-------- .../requests/collectionobject-request.xml | 6 +- 3 files changed, 127 insertions(+), 137 deletions(-) diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd index 64bfc66a0..c87092a53 100644 --- a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd +++ b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd @@ -83,12 +83,7 @@ - - - - - - + @@ -204,9 +199,7 @@ - - - + @@ -317,7 +310,7 @@ - + @@ -385,13 +378,13 @@ - - - - - - - + + + + + + + @@ -423,7 +416,7 @@ - + @@ -448,7 +441,7 @@ - + @@ -513,11 +506,11 @@ - - - - - + + + + + @@ -546,31 +539,10 @@ - + - - - - - - - - - - - - - - - - - - - - - - - + @@ -710,7 +682,7 @@ - + @@ -782,29 +754,48 @@ - - - - - + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd b/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd index b47e00890..08d00c9fb 100644 --- a/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd +++ b/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd @@ -63,7 +63,7 @@ - + @@ -123,9 +123,7 @@ - - - + @@ -222,13 +220,13 @@ - - - - - - - + + + + + + + @@ -260,9 +258,9 @@ - + - + @@ -285,7 +283,7 @@ - + @@ -434,11 +432,11 @@ - - - - - + + + + + @@ -473,37 +471,10 @@ - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + @@ -546,7 +517,7 @@ - + @@ -673,7 +644,7 @@ - + @@ -763,18 +734,18 @@ - - - - - + + + + + - - - - - - + + + + + + @@ -799,6 +770,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/services/imports/service/src/test/resources/requests/collectionobject-request.xml b/services/imports/service/src/test/resources/requests/collectionobject-request.xml index 49c21c962..6022796c6 100755 --- a/services/imports/service/src/test/resources/requests/collectionobject-request.xml +++ b/services/imports/service/src/test/resources/requests/collectionobject-request.xml @@ -54,7 +54,7 @@ - + @@ -98,7 +98,7 @@ - + It's pretty big - the size of an ogre.. Three arms and a hump-back @@ -271,4 +271,4 @@ - \ No newline at end of file + -- 2.47.3