Skip to content
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

cite attribute to URI/IRI results in error message in version 5? #1495

Closed
Doktorchen opened this issue Apr 1, 2023 · 1 comment · Fixed by #1509
Closed

cite attribute to URI/IRI results in error message in version 5? #1495

Doktorchen opened this issue Apr 1, 2023 · 1 comment · Fixed by #1509
Assignees
Labels
status: has PR The issue is being processed in a pull request type: bug The issue describes a bug
Milestone

Comments

@Doktorchen
Copy link

Doktorchen commented Apr 1, 2023

Content like

<q cite="https://www.gesetze-im-internet.de/urhg/__2.html">

results in an error message in ebpubcheck 5.0 like:

Remote resource reference is not allowed in this context; resource "https://www.gesetze-im-internet.de/urhg/__2.html" must be located in the EPUB container.

I could not find such a restriction in EPUB 3.3.
With href of a this generates no error message.
Of course, one can point to a bibliography entry with the cite attribute, but is this really required, intended or a bug?

@mattgarrish
Copy link
Member

I could not find such a restriction in EPUB 3.3.

There isn't one on the cite attribute, so sounds like a bug. The attribute is just metadata, with the (theoretical) possibility of the URL being hyperlinked out to, neither of which violates EPUB's resource location restrictions.

@rdeltour rdeltour self-assigned this Apr 13, 2023
@rdeltour rdeltour added type: bug The issue describes a bug status: accepted Ready to be further processed labels Apr 13, 2023
@rdeltour rdeltour added this to the Next maintenance release milestone Apr 13, 2023
@rdeltour rdeltour linked a pull request Apr 28, 2023 that will close this issue
@rdeltour rdeltour added status: has PR The issue is being processed in a pull request and removed status: accepted Ready to be further processed labels Apr 28, 2023
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: bug The issue describes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants