View Single Post
Old 08-28-2023, 03:41 AM   #1
Stable
Junior Member
Stable began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2023
Device: none
xml:lang error for IngramSpark

I'm trying to add an ebook onto IngramSpark using their book creation tool. I made the original epub in Sigil. When I get to the content files validation section I get the following errors:
Quote:
(RSC-005): /index_split_000.html: Error while parsing file: value of attribute "lang" is invalid; must be an RFC 3066 language identifier
(RSC-005): /index_split_000.html: Error while parsing file: value of attribute "xml:lang" is invalid; must be an RFC 3066 language identifier
(RSC-005): /index_split_001.html: Error while parsing file: value of attribute "lang" is invalid; must be an RFC 3066 language identifier
(RSC-005): /index_split_001.html: Error while parsing file: value of attribute "xml:lang" is invalid; must be an RFC 3066 language identifier
But in index_split_000.html (and 001) I have: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

And as far as I can see "en" is a 3066 identifier. Does anyone have any clue what's going wrong?

Thanks in advance.
Stable is offline   Reply With Quote