#1252 Properties incorrectly generated in package.opf

output: ePub
ePub (12)

If you have source like the following in your input DocBook:

<imageobject role="html">
<imagedata fileref="figures/xyz.jpg"/>
<imageobject role="fo">
<imagedata fileref="figures/xyz.svg"/>

When the stylesheets generate the <item> elements in the package.opf file, they will include the attribute properties="svg" even though the svg file is not in the output epub files. This causes a problem with epubcheck (3.0b5). Otherwise, the stylesheets do exactly the right thing. They select the file specified in the imageobject element with role="html" and drop the other one, and all the links and file references are correct.


  • Robert Stayton

    Robert Stayton - 2012-10-22

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:


  • Robert Stayton

    Robert Stayton - 2012-10-22
    • status: open --> pending-fixed
  • Robert Stayton

    Robert Stayton - 2014-01-20
    • Status: pending-fixed --> closed-fixed

Log in to post a comment.