Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360701

Summary: [epub] Automatic inclusion of referenced resources don't work for WikiText generated HTML
Product: z_Archived Reporter: Torkild Resheim <torkildr>
Component: MylynAssignee: Torkild Resheim <torkildr>
Status: CLOSED FIXED QA Contact: David Green <greensopinion>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.6.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 332122    
Attachments:
Description Flags
Path to resolve the issue none

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.