]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4775: Changing four fields to be structured dates in JAXB schema for collectio...
authorRay Lee <rhlee@berkeley.edu>
Wed, 29 Feb 2012 22:07:44 +0000 (14:07 -0800)
committerRay Lee <rhlee@berkeley.edu>
Wed, 29 Feb 2012 22:07:44 +0000 (14:07 -0800)
services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd

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