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

wrong validation of HTML+RDFa documents contains OpenGraph meta tags

From: szymon danielczyk <szymon.danielczyk@deri.org>
Date: Wed, 5 May 2010 10:53:51 +0100
Message-Id: <57E6EAB7-E0F5-4D93-ACBB-FFC252C0E1AF@deri.org>
To: www-validator@w3.org
We used W3c markup validator to validate documents contains OpenGraph  
A lot of these documents are buggy and not valid
We found that W3c markup validator is not complaining when:

OpenGraph properties into <META> tags use  a wrong attribute. They use  
name instead of property

Here is an url example of such document

To validate it we force XHtml+RDFa doctype

The namespace is declared

<html xmlns:og="http://opengraphprotocol.org/schema/"
and there are a few meta tags declared in such way
<meta name="og:title" content="Avatar (2009)" />
<meta name="og:site_name" content="IMDb" />

but there is no message indicates that there is something wrong with  
this meta tags

To help reproduce this issue I can provide the current source of this  
document if required


Received on Wednesday, 5 May 2010 13:12:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:17 UTC