You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
glossary property in the manifest is not allowed on content documents #1170
According to the spec, we should be able to add the glossary property both to the search key map file to to indicate that the file applies to a glossary, and to the XHTML content document file to indicate that it contains the actual glossary.
However epubcheck outputs:
ERROR(OPF-015): /path/to/glossary.xhtml(-1,-1): The property 'glossary' should not be declared in the OPF file.
It seems to allow glossary for the search key map, but not for the XHTML file.
changed the title [-]glossary property in the manifest is not allowed[/-][+]glossary property in the manifest is not allowed on content documents[/+]on Jul 30, 2020
Have you checked that your glossary.xhtml XHTML Content Document includes at least an element with the epub:typeglossary? This is mandatory for the glossary property to be allowed on the manifest item.
If that's not the issue, then it's possibly a bug in EPUBCheck 😊
Activity
[-]glossary property in the manifest is not allowed[/-][+]glossary property in the manifest is not allowed on content documents[/+]rdeltour commentedon Aug 4, 2020
Have you checked that your
glossary.xhtmlXHTML Content Document includes at least an element with theepub:typeglossary? This is mandatory for theglossaryproperty to be allowed on the manifest item.If that's not the issue, then it's possibly a bug in EPUBCheck 😊
acabal commentedon Aug 4, 2020
Yes,
glossary.xhtmlhas an element withepub:type="glossary", though it's on a<section>element inglossary.xhtml, not a<dl>element.rdeltour commentedon Aug 5, 2020
OK, thanks for your answer 😊
Are you running EPUBCheck with the
dictprofile?Would you be able to share a test EPUB?
rdeltour commentedon Aug 5, 2020
I was able to reproduce, so no need to send a test EPUB after all 😉
I'll dig deeper, but it does seem like a bug. Thanks for the report!
fix: allow the 'glossary' manifest item property
fix: allow the 'glossary' manifest item property