papyri / idp.data

Data from the Integrating Digital Papyrology project
62 stars 36 forks source link

Transfer graphic url from figure to facsimile in HGV files to make them validate #10

Open jcowey opened 8 years ago

jcowey commented 8 years ago

Using https://github.com/papyri/idp.data/blob/master/HGV_meta_EpiDoc/HGV70/69753.xml as an example.

https://github.com/papyri/idp.data/blob/master/HGV_meta_EpiDoc/HGV70/69753.xml#L93-L100

         <div type="figure">
            <p>
               <figure>
                  <graphic url="http://smb.museum/berlpap/index.php/record/?TM=69753"/>
                  <head>Abbildung im Internet</head>
               </figure>
            </p>
        </div>

does not validate.

This will become:

   </teiHeader>
   <facsimile>
      <graphic url="http://smb.museum/berlpap/index.php/record/?TM=69753"/>
   </facsimile>
   <text>

<div type="figure"> will disappear entirely The information in <head>Abbildung im Internet</head> will also disappear entirely. It is legacy data from HGV and serves no real purpose in the XML files.

ryanfb commented 8 years ago

This is only an issue if we want to also switch HGV to validating against EpiDoc > 8.13, correct? /cc @hcayless

This may also be the case for the authority/biblScope issues.

Edelweiss commented 8 years ago

transfer graphic url from figure to facsimile