jacshore / epubcheck

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

No error for spaces in URis #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

Items in the OPF manifest and for content in the NCX nav points both contain 
URIs. There is no error or warning reported if these URIs contain spaces.

METHOD:

What steps will reproduce the problem?
1. Run epubcheck on the attached epub.

RESULT:

What happens?
No error is reported.

EXPECTED:

I would expect an error or at least a warning that the URIs are invalid.

PLATFORM:

Using epubcheck-1.2 on Mac OS X 10.7.1, Java 1.6.0_26.

ADDITIONAL INFO:

URI specification indicates that spaces should be percent escaped. Some parsers 
(such as NSURL on the Mac platform) are unable to parse these strings as URIs.

Original issue reported on code.google.com by arthur.d...@rethinkbooks.com on 21 Sep 2011 at 6:09

Attachments:

GoogleCodeExporter commented 8 years ago
Bogdan added code for this in r250. So, started.

Original comment by markus.g...@gmail.com on 24 Oct 2011 at 8:15

GoogleCodeExporter commented 8 years ago
The warning message for uri escape compatibility has now been available since 
october without complaints. Closing as fixed.

Original comment by markus.g...@gmail.com on 15 Apr 2012 at 12:08