page2tei icon indicating copy to clipboard operation
page2tei copied to clipboard

Empty Output

Open JoshuaAPhillips opened this issue 1 year ago • 1 comments

Hello all,

I'm having some trouble running this both in oXygen and from the command line. In both cases, when I run a command to transform based on the METS file I get a blank TEI 'skeleton' as output like so:

<?xml version="1.0" encoding="UTF-8"?><TEI xmlns="http://www.tei-c.org/ns/1.0">
   <teiHeader>
      <fileDesc>
         <titleStmt/>
         <seriesStmt/>
         <sourceDesc>
            <bibl/>
         </sourceDesc>
      </fileDesc>
      <profileDesc>
      </profileDesc>
   </teiHeader>
   <facsimile>
   </facsimile>
   <text>
      <body>
      </body>
   </text>
</TEI>

I'm using the following command to transform in Zsh: java -jar ~/saxon/saxon-he-12.4.jar -xsl:page2tei/page2tei-0.xsl -s:m1-8-1/METS.xml -o:m1-8-1/tei-m1-8-1.xml and the PAGE files are generated automatically using eScriptorium, if that makes a difference. I've not got much experience working with PAGE XML but it seems to validate okay...

You can find the METS file I'm trying to transform here.

Thanks in advance, Joshua

JoshuaAPhillips avatar May 27 '24 11:05 JoshuaAPhillips

@JoshuaAPhillips Sorry for responding so late!

One possible cause is that the script was unable to find the PAGE files as linked from the METS file (perhaps due to an issue with interpreting the relative path). Or, it encountered something in the PAGE files that I haven’t observed yet.

If you can restore an example of METS and PAGE files, I’d be happy to take a look. Also, you could check out whether the same still happens using branch “parametrize”.

dariok avatar Aug 27 '24 11:08 dariok