Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358671 - Add support for fallback items
Summary: Add support for fallback items
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: 1.7.0   Edit
Assignee: Torkild Resheim CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 17:37 EDT by Torkild Resheim CLA
Modified: 2012-07-23 16:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torkild Resheim CLA 2011-09-22 17:37:44 EDT
The OPF specification (http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3.1) states that fallback items must be specified for items that are not in the list of OPS core media types. There could for instance be a PDF representation of a page and a XHTML 1.1 representation of the same page. The latter is a core media type. Reading systems that does not support PDF would use the HTML version.

The data model has support for fallback items, but the Ant task and API does not. As it is desirable to have full support for all EPUB 2.0.1 features, this should be added.
Comment 1 Torkild Resheim CLA 2012-04-18 14:54:14 EDT
Additionally an error must be flagged when an item *not* a core media type is added and a "fallback" attribute pointing to a legal item's identifier is not present. The fallback item may be added after the preferred item so the validation must be performed at package time.

A list of core media types is here: http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm#Section1.3.7
Comment 2 Torkild Resheim CLA 2012-05-11 03:12:22 EDT
Moving to new EPUB component.
Comment 3 Torkild Resheim CLA 2012-05-17 16:13:02 EDT
Fixed in 2ca48ed1fcb0c93c20435a941ad7068ad0c94a9b
Comment 4 Torkild Resheim CLA 2012-07-23 16:14:30 EDT
Closing resolved issues in released product.