× Joomla Facebook Connect support forum

Topic-icon JFBConnect 4.3.3 validation errors

Active Subscriptions:

None
11 years 4 months ago #29081 by Morpheus
Hi Alex,
I know that there are ways to fix this, I've done some of the work on previous releases.
Here are the errors I get in the validation tool. Could you please recommend of ways to fix this (beside changing the DOCTYPE as it cause more errors...):
element X undefined
Line 1185, column 205: element "fb:like-box" undefined
Line 1905, column 207: element "fb:recommendations-bar" undefined
Line 150, column 10: there is no attribute "property"
Line 328, column 12: there is no attribute "background"
Line 888, column 16: there is no attribute "data-mce-bogus"
Line 1185, column 41: there is no attribute "show_faces"
Line 1185, column 55: there is no attribute "header"

and so on
thanks
The topic has been locked.
Support Specialist
11 years 4 months ago #29101 by alzander
There isn't any way, that I know of, to use the XFBML tags we use and also have validation pass. Facebook simply never created a valid namespace document which can be loaded to let the browser and validation tools know that those tags are correct. The validation issues shouldn't cause you any real-world issues though.

Facebook has implemented HTML5 tags for all of their social widgets now, which we will be implementing in the future. Those tags do pass validation, but don't work on anything but the newest browsers, so we haven't gone down that path. That will be happening in 2013, as an option, for our users that want to use it.

The only other option is to re-implement our XFBML tags into their iFrame form. The iFrame code doesn't have all the features and options that the XFBML tags do.

Hope that explains,
Alex
The topic has been locked.