Quote:
Originally Posted by KevinH
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.