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

redeclared prefix not an error #522

Closed
mattgarrish opened this issue Mar 30, 2015 · 0 comments
Closed

redeclared prefix not an error #522

mattgarrish opened this issue Mar 30, 2015 · 0 comments
Milestone

Comments

@mattgarrish
Copy link
Member

Reserved prefixes can be declared in the package document, but currently I get this error:

ERROR(OPF-007b): .\content\30\epub30-test-0300.epub/EPUB/fxl-package.opf(2,143): Invalid prefix mapping: default vocabulary 'rendition' must not be re-declared.

There should only be a warning if you define a reserved prefix, as publications may implement prefixes before they get standardised:

Reserved prefixes should not be overridden in the prefix attribute, but Reading Systems must use such local overrides when encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants