-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced URL checks #708
Labels
status: has PR
The issue is being processed in a pull request
type: improvement
The issue suggests an improvement of an existing feature
Milestone
Comments
Was indeed removed with the B&N contribution at c74bc70 |
tofi86
changed the title
Warning OPF_021 is not thrown in EpubCheck 4.0.1 but was in 3.0.1
Add enhanced URL checks in EpubCheck 4.0
Dec 28, 2016
tofi86
added
type: improvement
The issue suggests an improvement of an existing feature
and removed
type: bug
The issue describes a bug
labels
Dec 28, 2016
This is not a bug. The URI scheme checking has been refactored wit EpubCheck 4.0 and since the URL However, I suggest to add enhanced URL checks to be able to report broken URLs. |
tofi86
added a commit
that referenced
this issue
Dec 28, 2016
catches URL typos like `https:/www` or `https:www`
Merged
tofi86
added a commit
that referenced
this issue
Feb 2, 2017
* add new Warning(RSC-023) when host of HTTP-URL is null // fixes #708 catches URL typos with missing slashes like `https:/www` or `https:www` * also report https URLs in the list of references
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: has PR
The issue is being processed in a pull request
type: improvement
The issue suggests an improvement of an existing feature
When having an invalid link / uri in your (EPUB 2) XHTML data:
EpubCheck 3.0.1 throws the following
WARNING
:But EpubCheck 4.0.1 does not!
The error message
OPF_021
is still present, but the warning only seems to get thrown when validating DTBook data (https://github.com/IDPF/epubcheck/blob/master/src/main/java/com/adobe/epubcheck/dtbook/DTBookHandler.java#L99)
It seems the check was accidentally removed during the 4.0 refactoring?!
I expect this also to happen with EPUB 3, but haven't tested yet...
The text was updated successfully, but these errors were encountered: