jacshore / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

epubcheck warns if remote-resouce is in manifest. #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:
if you specify remote resource with <item> element in <manifest>, epubcheck 
warns as following:

'Only audio and video foreign resources are permitted! The checker can't 
validate foreign resources!'

1. It it not a foreign resource.  It's a remote resource
"foreign resource" means "A Publication Resource that is not a Core Media Type" 
as defined in EPUB Publications 3.0 
(http://idpf.org/epub/30/spec/epub30-publications.html#sec-terminology)

2. The item's media-type is 'video/mp4', but the warning message says as if 
it's not audio or video.

METHOD:

attached EPUB file will reproduce the problem.

EXPECTED:

epubcheck passes without any warnings or errors.

PLATFORM:

3.0b4 , on MacOS X 10.7, JRE 1.6.0_29

Original issue reported on code.google.com by satoshi....@gmail.com on 28 Feb 2012 at 8:33

Attachments:

GoogleCodeExporter commented 8 years ago
The example above is not appropriate.
Video IS a foreign resource, too. And media-type 'video/mp4' maybe not valid.

I've created example to reproduce problem which contains  audio/mpeg4 (which is 
Core Media Type)  as remote resource.

Original comment by satoshi....@gmail.com on 28 Feb 2012 at 9:15

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 9 Mar 2012 at 1:33

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 14 Apr 2012 at 8:56

GoogleCodeExporter commented 8 years ago
Fixed in r308.

Original comment by markus.g...@gmail.com on 14 Apr 2012 at 10:18