Skip to content

feat: report unusual 'epub' namespace (usage)#1624

Merged
rdeltour merged 1 commit intomainfrom
issue/1601/xmlns
Aug 31, 2025
Merged

feat: report unusual 'epub' namespace (usage)#1624
rdeltour merged 1 commit intomainfrom
issue/1601/xmlns

Conversation

@rdeltour
Copy link
Copy Markdown
Member

Report a USAGE message when a namespace other than the usual http://www.idpf.org/2007/ops URL is associated to the epub prefix in XHTML content documents.

This is reported as HTM_010 (thereby repurposing this unused message ID).

This is only reported as a USAGE, since the spec does not strictly requires that the epub prefix is tied to the well-known URL. But it can help catch typos as reported in #1601.

Fixes #1601

Report a USAGE message when a namespace other than the usual
`http://www.idpf.org/2007/ops` URL is associated to the `epub` prefix
in XHTML content documents.

This is reported as HTM_010 (thereby repurposing this unused message ID).

This is only reported as a USAGE, since the spec does not strictly
requires that the `epub` prefix is tied to the well-known URL. But it
can help catch typos as reported in #1601.

Fixes #1601
@rdeltour rdeltour added this to the v5.3.0 milestone Aug 31, 2025
@rdeltour rdeltour self-assigned this Aug 31, 2025
@rdeltour rdeltour added the status: ready to merge The pull request is ready to be merged label Aug 31, 2025
@rdeltour rdeltour merged commit cf16167 into main Aug 31, 2025
5 checks passed
@rdeltour rdeltour deleted the issue/1601/xmlns branch August 31, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready to merge The pull request is ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EPUBCheck not reporting the xmlns:epub error

1 participant