Quote:
Originally Posted by Toxaris
No, officially both are correct and should be supported, see the W3 site. It seems however, that at least the validators do not seem to support the specification without the xml addition.
|
Uh, XHTML 1.0? We are using the XHTML 1.1
Anyway you could be right: the latest version of XHTML1.1 says: "This document supersedes the previous edition of XHTML 1.1. It reflects clarifications and corrections as a result of many years of use by the community. It also includes an XML Schema implementation of the language, and integrates the lang attribute to increase compatibility with User Agents and Assistive Technologies".
So it seems the "lang" support has changed in time. My old Oxygen validator do not allow the lang attribute, but the last epubcheck allows it.