Re: Warning validating with HTML 4.01+RDFa 1.1

Shane McCarron wrote:

> As far as I know there is no official HTML 4.01+RDFa 1.1 DTD.  So
> you should not be using that to validate.  If you want to use HTML4 
> constructs and RDFa 1.1, you might just use the HTML5 document type. 
> You can see the latest RDFa recommendation related to this topic at
> http://www.w3.org/TR/html-rdfa/

Alternatively you can follow the advice given by the W3C at :

 http://dev.w3.org/html5/rdfa/drafts/ED-rdfa-in-html-20100502/#validation

which reads :

> Documents written using the markup language defined in this
> specification may be validated using the DTD defined in this section.
> If a document author wants to facilitate such validation, they may
> include the following declaration at the top of their document:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML+RDFa 1.1//EN" 
> "http://www.w3.org/MarkUp/DTD/html401-rdfa11-1.dtd">


Philip Taylor

Received on Thursday, 11 July 2013 16:53:29 UTC