calibre-devs team mailing list archive
-
calibre-devs team
-
Mailing list archive
-
Message #00091
OPF meta/@name namespacing
Kovid etc.,
When I posted proposing namespacing OPF meta/@name values in the mobileread
EPUB support thread, what I had in mind was co-opting the document's XML
namespace declarations and groking NS prefixes used in meta/@name values.
I'm not sure that's exactly what you understood me to mean, nor am I sure
anymore that's a good way to do it. My primary concerns now are that it
will be harder to parse (and require that parsers expose NS/prefix mappings)
and that it will be difficult to implement correctly in terms of
metadata.opf2.
My alternative proposal is to just prefix the @name values with 'calbre-'.
The '-' won't be mistaken for a namespace prefix separator and is consistent
with how OEBPS 1.x OPF @name values were made pseudo unique (at least as
expressed in MS LIT files).
-Marshall
Follow ups