View Single Post
Old 06-07-2021, 09:05 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
As Jellby stated, your package tag has no namespace defined for it.

Just add:

xmlns="http://www.idpf.org/2007/opf"

to the other namespaces.

That line says that things in the opf namespace do NOT need a prefix.

Or do as Jellby suggested and use the opf prefix you did define opf: on both the package and metadata tags manifest, spine, etc, etc.

I typically use:

xmlns="http://www.idpf.org/2007/opf"

on the package tag to say no prefix means that tag is in the opf name space,

but then use the remaining namespaces including the opf:, dc:, dcterms:, and tei: terms *only* added to the metadata tag for its children to use.

You end up with a much simpler and cleaner opf.

Last edited by KevinH; 06-07-2021 at 09:07 AM.
KevinH is online now   Reply With Quote