Changeset 15016 for gsdl/trunk/etc

Show
Ignore:
Timestamp:
27.02.2008 16:56:58 (12 years ago)
Author:
davidb
Message:

attribute "datafield" was used in mapping that, on closer inspection, should be mapped as "tag". Mapping files updated and an exported collection tested with the Marc Java utility marc4j

Location:
gsdl/trunk/etc
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/etc/dc2marc-mapping.xml

    r12596 r15016  
    159159 
    160160<!-- Title  -->  
    161  <MarcField multiple="false" datafield="245" ind1="0" ind2="nonfiling"> 
     161<!-- 
     162 <MarcField multiple="false" tag="245" ind1="0" ind2="nonfiling"> 
    162163     <subfield code="a" nonfiling="true"  meta="dc.Title" punc=""/> 
    163164 </MarcField> 
    164165 
    165  <MarcField repeat="true" datafield="246" ind1="3" ind2="3" > 
     166--> 
     167 
     168 <MarcField multiple="false" tag="245" ind1="0" ind2=" "> 
     169     <subfield code="a" meta="dc.Title" punc=""/> 
     170 </MarcField> 
     171 
     172<!-- 
     173  <MarcField multiple="false" tag="245" ind1="0" ind2=" "> 
     174     <subfield code="a" meta="dc.Title" punc=""/> 
     175  </MarcField> 
     176--> 
     177 
     178 
     179 <MarcField repeat="true" tag="246" ind1="3" ind2="3" > 
    166180     <subfield code="a" meta="dc.Title" punc=""/> 
    167181  </MarcField> 
    168182   
    169183<!--Coverage --> 
    170   <MarcField multiple="true" datafield="500" ind1=" " ind2=" "> 
     184  <MarcField multiple="true" tag="500" ind1=" " ind2=" "> 
    171185     <subfield code="a" meta="dc.Coverage" punc=""/> 
    172186  </MarcField> 
     
    174188 
    175189<!--Contributor--> 
    176    <MarcField multiple="true" datafield="720" ind1=" " ind2=" "> 
     190   <MarcField multiple="true" tag="720" ind1=" " ind2=" "> 
    177191     <subfield code="a" meta="dc.Contributor" punc=","/> 
    178192   </MarcField> 
    179193 
    180194<!--Creator--> 
    181  <MarcField  multiple="true"  datafield="720" ind1=" " ind2=" "> 
     195 <MarcField  multiple="true"  tag="720" ind1=" " ind2=" "> 
    182196     <subfield code="a" meta="dc.Creator" punc=","/> 
    183197 </MarcField> 
    184198 
    185199 <!--Publisher and  Date--> 
    186    <MarcField  multiple="false" datafield="260" ind1=" " ind2=" "> 
     200   <MarcField  multiple="false" tag="260" ind1=" " ind2=" "> 
    187201     <subfield code="b" meta="dc.Publisher" punc=","/> 
    188202     <subfield code="c" meta="dc.Date" punc=""/>  
     
    190204 
    191205 <!-- Descrption --> 
    192     <MarcField multiple="true" datafield="520" ind1=" " ind2=" "> 
     206    <MarcField multiple="true" tag="520" ind1=" " ind2=" "> 
    193207       <subfield code="a" meta="dc.Description" punc=""/>  
    194208    </MarcField> 
    195209    
    196210  <!--Format --> 
    197      <MarcField multiple="true" datafield="856" ind1=" " ind2=" "> 
     211     <MarcField multiple="true" tag="856" ind1=" " ind2=" "> 
    198212       <subfield code="q" meta="dc.Format" punc=""/>  
    199213    </MarcField> 
     
    201215 
    202216 <!--Identifier --> 
    203      <MarcField multiple="true" datafield="024" ind1="8" ind2=" "> 
     217     <MarcField multiple="true" tag="024" ind1="8" ind2=" "> 
    204218        <subfield code="b" meta="dc.Identifier" punc=""/> 
    205219     </MarcField> 
    206220 
    207221 <!--Language--> 
    208  <MarcField  multiple="false" datafield="546" ind1=" " ind2=" "> 
     222 <MarcField  multiple="false" tag="546" ind1=" " ind2=" "> 
    209223     <subfield code="a" meta="dc.Language" punc=""/> 
    210224  </MarcField> 
     
    212226 
    213227  <!-- relation --> 
    214    <MarcField  multiple="true" datafield="787" ind1="0" ind2=" " > 
     228   <MarcField  multiple="true" tag="787" ind1="0" ind2=" " > 
    215229      <subfield code="n" meta="dc.Relation" punc=""/> 
    216230   </MarcField> 
    217231      
    218232  <!-- Right --> 
    219   <MarcField multiple="true" datafield="540" ind1=" " ind2=" "> 
     233  <MarcField multiple="true" tag="540" ind1=" " ind2=" "> 
    220234      <subfield code="a" meta="dc.Rights" punc=""/> 
    221235  </MarcField> 
    222236 
    223237 <!-- subject -->  
    224   <MarcField multiple="true" datafield="653" ind1=" " ind2=" "> 
     238  <MarcField multiple="true" tag="653" ind1=" " ind2=" "> 
    225239    <subfield code="a" meta="dc.Subject" punc=","/> 
    226240  </MarcField> 
    227241 
    228242<!-- source --> 
    229  <MarcField multiple="true" datafield="786" ind1="0" ind2=" "> 
     243 <MarcField multiple="true" tag="786" ind1="0" ind2=" "> 
    230244     <subfield code="n" meta="dc.Source" punc=""/> 
    231245 </MarcField> 
     
    233247 
    234248 <!-- type --> 
    235   <MarcField multiple="true" datafield="655" ind1=" " ind2="7"> 
     249  <MarcField multiple="true" tag="655" ind1=" " ind2="7"> 
    236250     <subfield code="a" meta="dc.Type" punc=","/> 
    237251  </MarcField> 
  • gsdl/trunk/etc/dc2marc.xsl

    r13342 r15016  
    191191      </xsl:when> 
    192192      <xsl:otherwise>       
    193         <xsl:if test="starts-with($name,'ind') or starts-with($name,'datafield') "> 
     193        <xsl:if test="starts-with($name,'ind') or starts-with($name,'tag') "> 
    194194          <xsl:call-template name="addAttribute" > 
    195195             <xsl:with-param name='name' select="$name"/> 
  • gsdl/trunk/etc/qdc2marc-mapping.xml

    r12597 r15016  
    171171 
    172172<!-- Contributor --> 
    173  <MarcField multiple="true" datafield="720" ind1=" " ind2=" "> 
     173 <MarcField multiple="true" tag="720" ind1=" " ind2=" "> 
    174174   <subfield code="a" meta="dc.Contributor" punc=","/> 
    175175 </MarcField> 
    176176 
    177177<!--Coverage --> 
    178   <MarcField multiple="true" datafield="500" ind1=" " ind2=" "> 
     178  <MarcField multiple="true" tag="500" ind1=" " ind2=" "> 
    179179     <subfield code="a" meta="dc.Coverage" punc=""/> 
    180180  </MarcField> 
    181   <MarcField multiple="true" datafield="522" ind1=" " ind2=" "> 
     181  <MarcField multiple="true" tag="522" ind1=" " ind2=" "> 
    182182     <subfield code="a" meta="dc.Coverage^temporal" punc=""/> 
    183183  </MarcField> 
    184   <MarcField multiple="true" datafield="513" ind1=" " ind2=" "> 
     184  <MarcField multiple="true" tag="513" ind1=" " ind2=" "> 
    185185     <subfield code="b" meta="dc.Coverage^spatial" punc=""/> 
    186186  </MarcField> 
    187187 
    188188 <!--Creator--> 
    189  <MarcField  multiple="true"  datafield="720" ind1=" " ind2=" "> 
     189 <MarcField  multiple="true"  tag="720" ind1=" " ind2=" "> 
    190190     <subfield code="a" meta="dc.Creator" punc=","/> 
    191191 </MarcField>    
    192192 
    193193  <!--Publisher and  Date--> 
    194    <MarcField  multiple="false" datafield="260" ind1=" " ind2=" "> 
     194   <MarcField  multiple="false" tag="260" ind1=" " ind2=" "> 
    195195     <subfield code="b" meta="dc.Publisher" punc=","/> 
    196196     <subfield code="c" meta="dc.Date^issued" punc=""/>  
     
    199199 
    200200 <!--Date--> 
    201     <MarcField  multiple="true"   datafield="307" ind1=" " ind2=" "> 
     201    <MarcField  multiple="true"   tag="307" ind1=" " ind2=" "> 
    202202       <subfield code="a" meta="dc.Date^available" punc=""/>  
    203203   </MarcField>          
    204204      
    205    <MarcField  multiple="true"   datafield="583" ind1=" " ind2=" "> 
     205   <MarcField  multiple="true"   tag="583" ind1=" " ind2=" "> 
    206206       <subfield code="d" meta="dc.Date^modified" punc=""/>  
    207207   </MarcField> 
    208208   
    209    <MarcField  multiple="true"   datafield="518" ind1=" " ind2=" "> 
     209   <MarcField  multiple="true"   tag="518" ind1=" " ind2=" "> 
    210210       <subfield code="a" meta="dc.Date^valid" punc=""/>  
    211211   </MarcField> 
    212212 
    213213<!-- Descrption --> 
    214     <MarcField  multiple="true" datafield="520" ind1=" " ind2=" "> 
     214    <MarcField  multiple="true" tag="520" ind1=" " ind2=" "> 
    215215       <subfield code="a" meta="dc.Description" punc=""/>  
    216216    </MarcField> 
    217217 
    218     <MarcField  multiple="true"  datafield="520" ind1=" " ind2=" "> 
     218    <MarcField  multiple="true"  tag="520" ind1=" " ind2=" "> 
    219219        <subfield code="a" meta="dc.Description^abstract" punc=""/>  
    220220    </MarcField> 
    221221 
    222     <MarcField  multiple="true"  datafield="505" ind1="0" ind2=" "> 
     222    <MarcField  multiple="true"  tag="505" ind1="0" ind2=" "> 
    223223       <subfield code="a" meta="dc.Description^tableOfContents" punc=""/> 
    224224    </MarcField> 
     
    226226 
    227227<!--Format --> 
    228      <MarcField  multiple="true"  datafield="856" ind1=" " ind2=" "> 
     228     <MarcField  multiple="true"  tag="856" ind1=" " ind2=" "> 
    229229       <subfield code="q" meta="dc.Format" punc=""/>  
    230230    </MarcField> 
    231     <MarcField  multiple="true"  datafield="300" ind1=" " ind2=" "> 
     231    <MarcField  multiple="true"  tag="300" ind1=" " ind2=" "> 
    232232        <subfield code="a" meta="dc.Format^extent" punc=""/>  
    233233    </MarcField> 
    234     <MarcField  multiple="true"  datafield="340" ind1="0" ind2=" "> 
     234    <MarcField  multiple="true"  tag="340" ind1="0" ind2=" "> 
    235235       <subfield code="a" meta="dc.Format^medium" punc=""/> 
    236236    </MarcField> 
    237237 
    238238 <!--Identifier --> 
    239      <MarcField multiple="true" datafield="024" ind1="8" ind2=" "> 
     239     <MarcField multiple="true" tag="024" ind1="8" ind2=" "> 
    240240        <subfield code="b" meta="dc.Identifier" punc=""/> 
    241241     </MarcField> 
     
    243243 
    244244 <!--Language--> 
    245  <MarcField  multiple="false" datafield="041" ind1=" " ind2=" "> 
     245 <MarcField  multiple="false" tag="041" ind1=" " ind2=" "> 
    246246     <subfield code="a" meta="dc.Language" punc=""/> 
    247247  </MarcField> 
    248248 
    249249<!-- relation --> 
    250   <MarcField multiple="true"  datafield="787" ind1="0" ind2=" " > 
     250  <MarcField multiple="true"  tag="787" ind1="0" ind2=" " > 
    251251      <subfield code="o" meta="dc.Relation" punc=""/> 
    252252  </MarcField> 
    253253 
    254   <MarcField multiple="true"  datafield="538" ind1=" " ind2=" "> 
     254  <MarcField multiple="true"  tag="538" ind1=" " ind2=" "> 
    255255        <subfield code="a" meta="dc.Relation^requires" punc=""/> 
    256256  </MarcField> 
    257257 
    258   <MarcField multiple="true" datafield="510" ind1="0" ind2=" "> 
     258  <MarcField multiple="true" tag="510" ind1="0" ind2=" "> 
    259259     <subfield code="a" meta="dc.Relation^isReferencedBy" punc=""/> 
    260260  </MarcField> 
     
    264264 --> 
    265265   
    266   <MarcField multiple="true" datafield="776" ind1="0" ind2=" "> 
     266  <MarcField multiple="true" tag="776" ind1="0" ind2=" "> 
    267267     <subfield code="n" meta="dc.Relation^hasFormat" punc=""/> 
    268268  </MarcField> 
    269269 
    270   <MarcField multiple="true" datafield="774" ind1="0" ind2=" "> 
     270  <MarcField multiple="true" tag="774" ind1="0" ind2=" "> 
    271271     <subfield code="n" meta="dc.Relation^hasPart" punc=""/> 
    272272  </MarcField> 
    273273 
    274   <MarcField multiple="true" datafield="775" ind1="0" ind2=" "> 
     274  <MarcField multiple="true" tag="775" ind1="0" ind2=" "> 
    275275      <subfield code="n" meta="dc.Relation^hasVersion" punc=""/> 
    276276  </MarcField> 
    277277 
    278  <MarcField multiple="true" datafield="776" ind1="0" ind2=" "> 
     278 <MarcField multiple="true" tag="776" ind1="0" ind2=" "> 
    279279     <subfield code="n" meta="dc.Relation^isFormatOf" punc=""/> 
    280280  </MarcField> 
    281281 
    282   <MarcField multiple="true" datafield="774" ind1="0" ind2=" "> 
     282  <MarcField multiple="true" tag="774" ind1="0" ind2=" "> 
    283283     <subfield code="n" meta="dc.Relation^isPartOf" punc=""/> 
    284284  </MarcField> 
    285285 
    286   <MarcField multiple="true"  datafield="785" ind1="0" ind2="0"> 
     286  <MarcField multiple="true"  tag="785" ind1="0" ind2="0"> 
    287287     <subfield code="t" meta="dc.Relation^isReplacedBy" punc=""/> 
    288288  </MarcField> 
     
    292292 --> 
    293293 
    294  <MarcField multiple="true" datafield="775" ind1="0" ind2=" "> 
     294 <MarcField multiple="true" tag="775" ind1="0" ind2=" "> 
    295295       <subfield code="n" meta="dc.Relation^isVersionOf" punc=""/> 
    296296 </MarcField> 
     
    301301--> 
    302302 
    303  <MarcField multiple="true" datafield="780" ind1="0" ind2="0"> 
     303 <MarcField multiple="true" tag="780" ind1="0" ind2="0"> 
    304304    <subfield code="t" meta="dc.Relation^replaces" punc=""/> 
    305305 </MarcField> 
    306306 
    307307 <!--Rights: additional qualified entries ???--> 
    308   <MarcField multiple="false"  datafield="540" ind1=" " ind2=" "> 
     308  <MarcField multiple="false"  tag="540" ind1=" " ind2=" "> 
    309309    <subfield code="a" meta="dc.Rights" punc=""/> 
    310310    <subfield code="b" meta="dc.RightsHolder" punc=""/> 
    311311  </MarcField> 
    312312 
    313   <MarcField   multiple="false"  datafield="540" ind1=" " ind2=" "> 
     313  <MarcField   multiple="false"  tag="540" ind1=" " ind2=" "> 
    314314    <subfield code="a" meta="dc.Rights^accessRights" punc=""/> 
    315315    <subfield code="b" meta="dc.RightsHolder" punc=""/> 
    316316  </MarcField> 
    317317 
    318   <MarcField multiple="false" datafield="540" ind1=" " ind2=" "> 
     318  <MarcField multiple="false" tag="540" ind1=" " ind2=" "> 
    319319     <subfield code="a" meta="dc.Rights^license" punc=""/> 
    320320     <subfield code="b" meta="dc.RightsHolder" punc=""/> 
     
    322322 
    323323   <!-- Source --> 
    324   <MarcField  multiple="true" datafield="786" ind1="0" ind2=" "> 
     324  <MarcField  multiple="true" tag="786" ind1="0" ind2=" "> 
    325325     <subfield code="o" meta="dc.Source" punc=""/> 
    326326  </MarcField> 
     
    328328 
    329329 <!--subject--> 
    330   <MarcField  multiple="true"  datafield="650" ind1=" " ind2="0"> 
     330  <MarcField  multiple="true"  tag="650" ind1=" " ind2="0"> 
    331331    <subfield code="a" meta="dc.Subject" punc=" :"/> 
    332332  </MarcField> 
    333333 
    334334<!--Title--> 
    335   <MarcField  multiple="false" datafield="245" ind1="1" ind2="nonfiling"> 
     335  <MarcField  multiple="false" tag="245" ind1="1" ind2="nonfiling"> 
    336336     <subfield code="a" meta="dc.Title" punc=""/> 
    337337  </MarcField> 
    338338  
    339   <MarcField multiple="true" datafield="246" ind1="3" ind2="3"> 
     339  <MarcField multiple="true" tag="246" ind1="3" ind2="3"> 
    340340    <subfield code="a" meta="dc.Title" punc=""/> 
    341341  </MarcField> 
    342342 
    343343 
    344   <MarcField multiple="true" datafield="246" ind1="3" ind2="3"> 
     344  <MarcField multiple="true" tag="246" ind1="3" ind2="3"> 
    345345    <subfield code="a" meta="dc.Title^alternative" punc=""/> 
    346346  </MarcField> 
     
    348348 
    349349 <!-- type --> 
    350   <MarcField multiple="true" datafield="655" ind1=" " ind2="7"> 
     350  <MarcField multiple="true" tag="655" ind1=" " ind2="7"> 
    351351     <subfield code="a" meta="dc.Type" punc=""/> 
    352352  </MarcField>