Reputation: 926
I am using Facebook Like box and Facebook Comments on my website, but when I use the validator at http://validator.w3.org/ I get the following errors:
general entity "appId" not defined and no default entity
reference to entity "appId" for which no system identifier could be generated
I have seen that declaring the DOCTYPE as HTML5, these errors disappear but a bunch of other errors appear, is there a way around this?
Upvotes: 0
Views: 354
Reputation: 943650
general entity "appId" not defined and no default entity. reference to entity "appId" for which no system identifier could be generated
This usually means that you are using an &
as data when it means "Start of character reference or entity". If you want to mean &
say &
.
Upvotes: 2
Reputation: 4503
If you want to make your HTML valid then I'd recommend using the HTML5
doctype: <!DOCTYPE html>
this will be easier and it will be a lot nicer against plugins like the facebook like box, twitter stream etc.
However, why worry so much about HTML validation in the first place? It's no big deal.
Upvotes: 0