jacshore / epubcheck

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

links with query strings shown as errors #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

Using 3.0b5 on epub3. If a link within a .xhtml file includes a query string as 
part of the url, e.g <a href="a.xhtml?x=y">... </a> then an error is shown in 
validation that the "referenced resource missing in the package" when the 
actual target of the link (a.xhtml) does exist and is properly included in the 
manifest. The epub3 spec. says nothing about not using query strings.

METHOD:

1. include a link of the form <a href="a.xhtml?x=y">... </a> in an xhtml 
document within the package.
2. run the validator on the epub file.

RESULT:

The target of the link is shown as an error with the message "referenced 
resource missing in the package".

EXPECTED:

According to the spec. this should be valid within an xhtml document inside an 
epub.

PLATFORM:

What version of the product are you using? On what operating system?

ADDITIONAL INFO:

Please provide any additional information below.

Original issue reported on code.google.com by computer...@gmail.com on 22 Jun 2012 at 12:54

GoogleCodeExporter commented 8 years ago
Sorry, just to emphasise this is epubcheck 3.ob5 on windows XP

Original comment by computer...@gmail.com on 22 Jun 2012 at 12:56

GoogleCodeExporter commented 8 years ago
I have modified XrefChecker to strip query strings from URIs, code attached.

Original comment by computer...@gmail.com on 10 Jul 2012 at 8:03

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by markus.g...@gmail.com on 11 Oct 2012 at 8:29

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

Original comment by markus.g...@gmail.com on 11 Oct 2012 at 8:31