]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4775: Changing four fields to be structured dates in CollectionObject.
authorRay Lee <rhlee@berkeley.edu>
Tue, 28 Feb 2012 20:54:43 +0000 (12:54 -0800)
committerRay Lee <rhlee@berkeley.edu>
Tue, 28 Feb 2012 20:54:43 +0000 (12:54 -0800)
services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd

index 6d407a15e25cb66dfdc535c743073a58d7137290..54a923e765b11509b18ae2d30591098d00322339 100644 (file)
         <xs:sequence>\r
             <xs:element name="inscriptionContent" type="xs:string"/>\r
             <xs:element name="inscriptionContentInscriber" type="xs:string"/>\r
-            <xs:element name="inscriptionContentDate" type="xs:string"/>\r
+            <xs:element name="inscriptionContentDateGroup" type="structuredDateGroup"/>\r
             <xs:element name="inscriptionContentInterpretation" type="xs:string"/>\r
             <xs:element name="inscriptionContentLanguage" type="xs:string"/>\r
             <xs:element name="inscriptionContentMethod" type="xs:string"/>\r
         <xs:sequence>\r
             <xs:element name="inscriptionDescription" type="xs:string"/>\r
             <xs:element name="inscriptionDescriptionInscriber" type="xs:string"/>\r
-            <xs:element name="inscriptionDescriptionDate" type="xs:string"/>\r
+            <xs:element name="inscriptionDescriptionDateGroup" type="structuredDateGroup"/>\r
             <xs:element name="inscriptionDescriptionInterpretation" type="xs:string"/>\r
             <xs:element name="inscriptionDescriptionMethod" type="xs:string"/>\r
             <xs:element name="inscriptionDescriptionPosition" type="xs:string"/>\r
 \r
     <!--  Object Collection Information Group -->\r
 \r
-    <xs:element name="fieldCollectionDate" type="xs:string"/>\r
+    <xs:element name="fieldCollectionDateGroup" type="structuredDateGroup"/>\r
     <xs:element name="fieldCollectionMethods">\r
         <xs:complexType>\r
             <xs:sequence>\r
     </xs:complexType>\r
     <xs:complexType name="assocDateGroup">\r
         <xs:sequence>\r
-            <xs:element name="assocDate" type="xs:string"/>\r
+            <!-- CSPACE-4775: Renamed assocDate to assocStructuredDateGroup. This doesn't follow the convention where the -->\r
+            <!-- structured date field would normally be named assocDateGroup, because a complexType by that name already exists. -->\r
+            <!-- The app layer doesn't handle the duplicated name well, and it's more invasive to change the name of the complexType -->\r
+            <!-- than to use an unconventional name for the field, which we'd be renaming anyway. -->\r
+            <xs:element name="assocStructuredDateGroup" type="structuredDateGroup"/>\r
             <xs:element name="assocDateType" type="xs:string"/>\r
             <xs:element name="assocDateNote" type="xs:string"/>\r
         </xs:sequence>\r