View Single Post
Old 02-25-2016, 10:22 AM   #1
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
attribute 'lang' error schema not satisfied

I have here an epub, obviously created with Sigil and Calibre. At running FlightCrew, I receive multiple errors of this type:
Quote:
Error schema not satisfied : attribute 'lang' is not declared for element 'span' near column 153
It refers for ex. to the following spot in the HTML:
Quote:
<p class="calibre10"><span class="calibre11">–*De tels avertissements ne sont pas rares, déclara-t-il Dans la <span class="italic"><span lang="IT">Vita</span><span lang="IT">
</span></span><span class="italic"><span lang="IT">Nuova</span>
(I emphasized the respective passages)
The encoding looks like this:
Quote:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title>Le Fantôme de la rue Michel-Ange</title>
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>
There might be restrictions in the XML schema, but I can't see them, and I find no hint on how to mend the error messages.

There are no interferences to the readability of the book; in epubcheck, there don't even appear error messages. But, anyway, I would like to know what's wrong there. Is there a crack online who could help? Thanks in advance!
Leonatus is offline   Reply With Quote