W3C home > Mailing lists > Public > www-validator@w3.org > July 2013

Re: Warning validating with HTML 4.01+RDFa 1.1

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Thu, 11 Jul 2013 17:52:59 +0100
Message-ID: <51DEE2EB.3020108@Rhul.Ac.Uk>
To: shane@aptest.com, Andrea Urbini <andrea.urbini@unifi.it>
CC: www-validator@w3.org, urbini@unifi.it


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

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