Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Why xml:lang instead of lang?

From: Pierre Goiffon <pgoiffon@----.--.------->
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent