Tracker: Bugs

5 Properties incorrectly generated in package.opf - ID: 3558068
Last Update: Comment added ( bobstayton )

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

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

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.


Richard Hamilton ( rlhamilton ) - 2012-08-15 15:20:35 PDT

5

Pending

Fixed

Robert Stayton

ePub

output: ePub

Public


Comment ( 1 )

Date: 2012-10-22 15:43:20 PDT
Sender: bobstaytonSourceForge.net SubscriberProject Admin

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

http://docbook.sourceforge.net/snapshots/



Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2012-10-22 15:43:20 PDT bobstayton
resolution_id None 2012-10-22 15:43:20 PDT bobstayton
close_date - 2012-10-22 15:43:20 PDT bobstayton