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

SVG documents must not have DOCTYPE declarations #80

Closed
drmacro opened this issue Nov 11, 2016 · 1 comment
Closed

SVG documents must not have DOCTYPE declarations #80

drmacro opened this issue Nov 11, 2016 · 1 comment
Assignees
Labels
Projects
Milestone

Comments

@drmacro
Copy link
Member

drmacro commented Nov 11, 2016

Per the EPUB 3.0.1 specification, content documents, including SVG documents, may not have external identifiers in their DOCTYPE declarations, if present. Since this would result in a doctype declaration like

<!DOCTYPE svg >

Which is pointless, it makes more sense to simply omit the DOCTYPE declaration completely.

In the case of SVG documents this means that documents must be processed to remove the declarations.

@drmacro drmacro added the bug label Nov 11, 2016
@drmacro drmacro added this to the RC26 milestone Nov 11, 2016
@drmacro drmacro self-assigned this Nov 11, 2016
@drmacro
Copy link
Member Author

drmacro commented Aug 5, 2021

Fixed in org.dita4publishers.common.xslt

@drmacro drmacro closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
RC26
Issues
Development

No branches or pull requests

1 participant