Thread: Namespace
View Single Post
Old 05-08-2023, 08:47 AM   #2
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,928
Karma: 6240958
Join Date: Nov 2009
Device: many
Yes that is the proper namespace needed.

xmlns:epub="http://www.idpf.org/2007/ops"

but you seem to be using epub2 pieces here (ie an NCX) and not epub3 NAV. A fixed layout epub support was not added until epub3. And epub3 uses a html NAV not an NCX (although an NCX doc could be added for epub2 backwards compatibility) but probably should not use epub:type attributes which are from epub3 for that same reason.

For example here is what might appear at the top of a NAV:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en" xml:lang="en">

Last edited by KevinH; 05-08-2023 at 10:45 AM.
KevinH is offline   Reply With Quote