Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 379052 - OPS validator should handle all XHTML in the manifest
Summary: OPS validator should handle all XHTML in the manifest
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.7.0   Edit
Assignee: Torkild Resheim CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 16:49 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 2012-05-09 16:49:55 EDT
The OPS2Validator should only validate items that are of type XHTML. Other types of items such as "text/x-oeb1-document" (however strange) or "application/x-dtbook+xml" (more plausible) should not be checked. The current implementation assumes that all spine items are XHTML. Also only items in the spine (the natural reading order) are validated. But there may be links from spine items to XHTML items not in the reading order, hence the entire manifest should be validated.

Allowable spine items include "application/xhtml+xml", "application/x-dtbook+xml", the deprecated "text/x-oeb1-document", and Out-Of-Line XML Island (with required fallback. See http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.3.1.2)
Comment 1 Torkild Resheim CLA 2012-05-11 03:12:24 EDT
Moving to new EPUB component.
Comment 2 Torkild Resheim CLA 2012-05-17 14:36:26 EDT
All items of type "application/xhtml+xml" in the manifest will now be validated. Fixed in Ib4ea48b9a33801955ab44896b1b9ca6baa258c1a.
Comment 3 Torkild Resheim CLA 2012-05-17 16:14:37 EDT
Commit ID should be 09aaec7844f359913e563aa980a74ad6188fa700
Comment 4 Torkild Resheim CLA 2012-07-23 16:14:32 EDT
Closing resolved issues in released product.