Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Why xml:lang instead of lang? [Thread Next] Re: Why xml:lang instead of lang?To: NULL Date: 4/3/2006 9:45:00 AM Andreas Prilop wrote: > What was the reason to introduce a new attribute "xml:lang" > instead of "lang"? This bothers both authors and browsers > in different language versions: HTML 4, XHTML 1.0, XHTML 1.1. > HTML has only "lang"; XHTML 1.1 has only "xml:lang"; > XHTML 1.0 has both! XHTML 1.0 could be read as invalid HTML markup if sent with the text/html content-type, maybe this is why there are these to differents lang attributes ? One for SGML based markup, one for XML based markup. The compatibility guidelines of the XHTML 1.0 recommandation tells something that make me think this : http://www.w3.org/TR/xhtml1/#C_7 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
