E-mail List Archives

Language declaration when using XHTML+RDFa 1.0

for

From: Steve Green
Date: Jul 30, 2013 5:08PM


One of our clients has asked us to test a website where the doctype is XHTML+RDFa 1.0. There was no language declaration in the <html> element but the W3C online HTML validator does not permit the lang="en" attribute that we would usually use.

I have tried to understand the XHTML+RDFa 1.0 specification but it's heavy going. The validator does allow xml:lang="en", so is this sufficient or do we need something more? Any help would be greatly appreciated.

I think this is the first website we have tested in more than 10 years that has this doctype. Is it common and why would anyone use it?

Regards,
Steve Green
Managing Director
Test Partners Ltd
5 Percy Street, London W1T 1DG
0800 612 2780 (switchboard)
07957 246 276 (mobile)
020 7692 5517 (fax)
Skype: testpartners
<EMAIL REMOVED>
www.testpartners.co.uk