We get W3C validation error after placing Scheme Data in our website which was built in XHTML.
Line 198, Column 41: there is no attribute "
data-id
"<script type="IN/FollowCompany" data-id="322498" data-counter="right"></script>
(Link to the validator result)
Will changing the DTD solve this? We use,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
and skip the nonsense