View Single Post
Old 01-06-2016, 01:18 PM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,698
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Hi,
Here is the link that I read once before. See Example 3 which uses the xhtml 1.1 doctype near the end of this page. It does not use lang= anymore where as xhtml 1.0 does.

http://www.w3.org/TR/WCAG20-TECHS/H57.html

So perhaps the doctype does make the difference:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
vs

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Either that or FlightCrew is just wrong!

KevinH
Then Flightcrew should have been wrong about it all along, right? I honestly don't remember how old Sigil handled this sort of thing, but we've not changed Flightcrew (other than to plugin-ize it) have we?

Also, doesn't that documentation only refer to using it with the html element?

EDIT: You're right though ... getting rid of lang="fr" (and leaving xml:lang="fr") makes Flightcrew stop barking about it. Epubcheck doesn't seem to care whether it's there or not.

Last edited by DiapDealer; 01-06-2016 at 01:41 PM.
DiapDealer is online now   Reply With Quote