View Single Post
Old 03-21-2025, 10:53 PM   #20
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,403
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Bozzka View Post
Does anyone know, please, how to fix the problem without having to redo the file Epub2 to Epub3?
Some Path? I prefer to change the content . opf file manually, if it's possible

I use caliber.
I fix all accessible metadata problem, but Daisy does not accept
my <dc: Language> en </ dc: Language>,
the error message is:
Add The Missing OPF XML: Lang Attribute
The Language Must Be Specfied (XML: Lang in OPF Package)
- also if this line is present

Thank you very much, I know you know everything ... :-) so maybe someone knows.
If you are going to edit the .opf file manually, please use the correct syntax. In your sample, you have extra spaces and upper case.

Code:
<dc:language>en</dc:language>
For finer granularity

Code:
<dc:language>en-ca</dc:language>
Oddly the ca can be upper or lower case and does not throw an error.

For ePub3, the title, identifier, language and modified elements from the Dublin Core set are needed. If they are not present, epubcheck will throw an error message.

Quote:
<package version="3.0" unique-identifier="ISBN" prefix="schema: http://schema.org/ rendition: http://www.idpf.org/vocab/rendition/# ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" xmlns="http://www.idpf.org/2007/opf">
does not have an xml:lang element and epubcheck is happy with it.

Last edited by DNSB; 03-21-2025 at 11:02 PM.
DNSB is offline   Reply With Quote