#615 Wrong XSLT parameter value for "directory" in ANT build file for TEI-to-EPUB transformation

AMBER
closed
None
5(default)
2013-10-29
2013-10-29
No

TEI XSL 7.2.0 introduced a bug in the TEI to EPUB transformation. The file tei\xml\tei\stylesheet\common\teianttasks.xml sets the directory parameter as:

   <param name="directory" expression="${outputTempDir}"/>

but it should be:

   <param name="directory" expression="file:///${outputTempDir}"/>

as it was in TEI XSL 7.1.0.

Discussion

  • Sorin Ristache

    Sorin Ristache - 2013-10-29

    The transformation error caused by this modification in TEI XSL 7.2.0 is:

     [xslt] Loading stylesheet \tei\xml\tei\stylesheet\profiles\default\epub\to.xsl
     [xslt] ...\tei\xml\tei\stylesheet\epub\tei-to-epub.xsl:231: Fatal Error! Resolved URL is malformed Cause: java.net.MalformedURLException: unknown protocol: c
     [xslt] Failed to process Desktop\tei-2.5.0-7.2.0-Oxygen-15.1\tei\templates\TEI P5\All.xml
    
     
    Last edit: Sorin Ristache 2013-10-29
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-10-29

    Whoops. You are right changed. Fixed in source.

    I had better make a new release soon

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-10-29
    • status: open --> closed
    • assigned_to: Sebastian Rahtz