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
This is due to the fact that those attributes are not part of DC (Dublin Core Metadata Element Set) XML namespace. Instead, they are extra attributes added by the EPUB 2 standard which is why they appear in the opf XML namespace in the example above. EpubReader didn't account for this fact, so the values of those attributes were always null after parsing.
Description
opf:event
andopf:scheme
attributes in the following example are always skipped during the parsing:This is due to the fact that those attributes are not part of DC (Dublin Core Metadata Element Set) XML namespace. Instead, they are extra attributes added by the EPUB 2 standard which is why they appear in the
opf
XML namespace in the example above. EpubReader didn't account for this fact, so the values of those attributes were alwaysnull
after parsing.Sample EPUB file
test.epub
EPUB specification links
date
metadata element: https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.7identifier
metadata element: https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.10The text was updated successfully, but these errors were encountered: