jacshore / epubcheck

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

False error triggering (html BASE tag) #155

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

False error triggering.

METHOD:

What steps will reproduce the problem?
1. create an xhtml file which will have BASE html tag definition, for example:
<base href="http://dev.w3.org/html5/spec/" target="_blank" />
2. create a link inside this xhtml file with relative uri, like this:
<a 
href="Overview.html#the-base-element">http://dev.w3.org/html5/spec/Overview.html
#the-base-element</a>
3. check this document as an epub

RESULT:

according to the HTML spec, the above link should jump to the 
http://dev.w3.org/html5/spec/Overview.html page (and it words in browsers), but 
epubcheck tool throws an error:

ERROR: book.epub/content/xhtml/meta.xhtml(94,254): 
'content/xhtml/Overview.html': referenced resource missing in the package

which is incorrect, because resource is not located in 
'content/xhtml/Overview.html', but in 
http://dev.w3.org/html5/spec/Overview.html, and should not have been defined in 
the package.

EXPECTED:

the error should not appear

PLATFORM:

epubcheck-3.0b4.jar on Win7/64/Eng

Original issue reported on code.google.com by fun...@gmail.com on 20 Feb 2012 at 2:19

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 18 Apr 2012 at 3:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r321.

Original comment by markus.g...@gmail.com on 18 Apr 2012 at 3:28