W3C home > Mailing lists > Public > www-validator@w3.org > March 2010

(unknown charset) Validation bug - XHTML 1.1 and XHTML+RDFa

From: (unknown charset) Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 15 Mar 2010 14:37:35 +0100
To: (unknown charset) www-validator@w3.org
Message-ID: <20100315143735595655.734f6d19@xn--mlform-iua.no>
XHTML 1.1 doesn't cover the lang attribute - it only supports xml:lang. 
But when I actually tried to validate a page with @lang, then it 
validated. How come?

I have heard that XHTML 1.1. will soon be redefined to support @lang 
(which is great!). Is Validator.w3.org anticipating this? 

At the same time, when using the XHTML+RDFa doctype, then one gets the 
message that 'there is no attribute "lang"' ... This is interesting, 
because XHTML+RDFa is based on XHTMl 1.1. One should have expected 
identical behaviour from both.

If there is some kind of anticipation going on, then that's OK for me. 
However, it is only confusing that XHTML+RDFa and XHTML 1.1. doesn't 
behave the same way.
leif halvard silli
Received on Monday, 15 March 2010 13:38:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:00 UTC