Re: Validation bug - XHTML 1.1 and XHTML+RDFa

Jukka K. Korpela, Thu, 29 Aug 2013 08:56:46 +0300:
> 2013-08-29 0:30, Liam Morland wrote:
>> Why am I still getting an error for using @lang in XHTML+RDFa 1.0?
   [ … ]
>> I would appreciate it if the validator would updated to use the most
>> current DTDs.
> The DTD mentioned is dated 26-Jun-2009. If it has a bug, perhaps it 
> hasn't been noticed, since the DTD is used so little. The DTD at

> is newer and does not have this problem.

I don't know if the DTD of XHTML+RDFa 1.0 can be - or has been - 
updated via “the backdoor”. If possible, why not do it. But I think the 
following is the explanation for Liam’s question: XHTML+RDFa is based 
on XHTML 1.1. And XHTML 1.1, did until 2010 *not* include the @lang 
attribute as valid attribute.

However, in XHTML 1.1 Second Edition was issued on 23rd of Noveber 
2010, and from then on, the @lang attribute is supported.[1] However, 
XHTML+RDFa 1.0 was issued before that date,[2] it could not support 
@lang. By contrast, XHTML+RDFa 1.1 explicitly declares that it was 
based on XHTML 1.1 second edition and therefore supports @lang.[3]

I beleive he moral ought to be: Stop using XHTML+RDFa 1.0. Use 
XHTML+RDFa 1.1 instead.




leif halvard silli

Received on Monday, 2 September 2013 12:02:49 UTC