Thread: xmlns:epub=""
View Single Post
Old 07-05-2022, 10:38 PM   #3
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,629
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Hi @kovidgoyal,

I am just starting to dive into the use of the epub:type attribute as I wanted to learn a bit more about it and its use, using this as a reference... https://www.w3.org/TR/epub-ssv/#sec-partitions

If I add one of these attributes, like <body epub:type="chapter">, and I don't add the namespace, then EPUBCheck gives the following error...

Code:
p01c21.xhtml ERROR(RSC-005): Error while parsing file: The prefix "epub" for attribute "epub:type" associated with an element type "body" is not bound.
So I need to add the namespace.

I initially started looking into this to experiment with the newer footnotes method of using the <aside> tag, but it does not seem to work on the Libra2, but thought I would continue learning about the attributes anyway.

Are you saying that the epub:type= attribute is not required/needed in epub v3?
Karellen is offline   Reply With Quote