Bug 360701 - [epub] Automatic inclusion of referenced resources don't work for WikiText generated HTML
Summary: [epub] Automatic inclusion of referenced resources don't work for WikiText ge...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.6.0   Edit
Assignee: Torkild Resheim CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 332122
  Show dependency tree
 
Reported: 2011-10-12 13:23 EDT by Torkild Resheim CLA
Modified: 2014-02-04 12:48 EST (History)
0 users

See Also:


Attachments
Path to resolve the issue (30.24 KB, patch)
2011-10-12 14:18 EDT, Torkild Resheim CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torkild Resheim CLA 2011-10-12 13:23:09 EDT
The ReferenceScanner will only work for XHTML type documents (files with mimetype "application/xhtml+xml"). The mimetype detector does not correctly detect WikiText generated files as they end with HTML.
Comment 1 Torkild Resheim CLA 2011-10-12 14:18:56 EDT
Created attachment 205057 [details]
Path to resolve the issue

* Removed useless casts in TestOPSPublication.
* Added test for bug 360701.
* Added test for inclusing of resources in subfolder.
* Improved mimetype detection (fixes 360701)
Comment 2 Torkild Resheim CLA 2012-02-24 14:15:43 EST
Marking as fixed as this code is in the initial contribution.
Comment 3 Torkild Resheim CLA 2012-05-11 03:12:23 EDT
Moving to new EPUB component.
Comment 4 Torkild Resheim CLA 2014-02-04 12:48:02 EST
Closing as the fix is in a released version.