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

Re: Validation errors using FaceBook's LIKE and COMMENT plugins

From: Karl-Heinz Grusch <kagruschi@googlemail.com>
Date: Thu, 2 Dec 2010 10:31:55 +0100
Message-ID: <AANLkTim=Jj41pw6NmbFAXD2iH=E0EHH2iUVS8_84nN8Q@mail.gmail.com>
To: www-validator@w3.org
My site is using the following headers:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">

and I have included the FaceBook LIKE and COMMENT plugins with XFBML. When I
perform an HTML validation here:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.suitsties.info%2Fproducts%2F62%2Ffrench-cuff-dress-shirt.html&charset=%28detect+automatically%29&doctype=Inline&group=1&accept=*%2F*&accept-language=en-us&user-agent=W3C_Validator%2F1.1

I get Validation Output: 7 Errors, and all 7 errors are related to the
FaceBook LIKE and COMMENT tags.

element "FB:LIKE" undefined
element "FB:COMMENTS" undefined
and all attributes inside the FB tags get: there is no attribute X

How do I change my headers so that these elements are defined and my page
can validate with no errors?

Hi!

I have the same Problem on my Website!

But if I do the validation, the output says 9 Errors - 7 related to
Facebook, and 2 HTML errors.
I have checked the complete source, especially the complete HTML but didn't
found anything.

I have removed the Facebook plugin and all works fine...

Has anybody a solution or the same problem?

----------------------------------------------
Karl-Heinz Grusch
http://www.winterstiefeldamen.org
Received on Thursday, 2 December 2010 11:56:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:45 GMT