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

Bug 358667

Summary: [epub] Add support for multiple root files
Product: z_Archived Reporter: Torkild Resheim <torkildr>
Component: MylynAssignee: Torkild Resheim <torkildr>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 332122    
Bug Blocks: 378489    

Description Torkild Resheim CLA 2011-09-22 17:04:20 EDT
The OCF (Open Container Format) specification (http://idpf.org/epub/20/spec/OCF_2.0.1_draft.doc) states that one can add multiple publications to one EPUB. For instance an OEBPS (aka EPUB) and one PDF. Or two OEBPS publications in different languages. While the current API does handle this – the Ant task does not. This should be implemented as the only other way of doing this would be through the API.
Comment 1 Torkild Resheim CLA 2012-05-09 17:10:55 EDT
The Ant task syntax should be backwards compatible so both the new and the old format should be allowed. For instance:

<epub>
  ... ops content
</epub>

and

<epub>
  <ops>
    ... ops content
  </ops>
  <file name="content.pdf" type="application/pdf"/>
</epub>
Comment 2 Torkild Resheim CLA 2012-05-11 03:12:30 EDT
Moving to new EPUB component.
Comment 3 Torkild Resheim CLA 2012-05-14 14:03:15 EDT
Apparently most reading systems have issues with this feature so for practical reasons it makes little sense to investigate it further. There may be changes or additions to the EPUB specification at a later stage in which case this issue can be revisited. See https://groups.google.com/d/topic/epubcheck/QLeWFm9bn04/discussion

Resolving as WONTFIX.
Comment 4 Torkild Resheim CLA 2014-02-04 12:47:37 EST
Closing - no further work will be done on this for EPUB 2.x at least.