Monday, July 11, 2016

W3C and Schema Microdata Fixes For Blogger Blogspot Templates

Test this Blog on the W3C Validator HERE

We are expecting seven errors that cannot be corrected at this date because the HTML5 standard does not appear to support the XMLNS Dcoument type.  W3C

  • Error: Attribute xmlns:b not allowed here. (Warning and error)
  • Error: Attribute xmlns:data not allowed here. (Warning and error)
  • Error: Attribute xmlns:expr not allowed here. (Warning and error)


Note 1: Atom feeds are disabled, apparently not controlled within the template and causes error...
  • Error: Bad value service.post for attribute rel on element link: The string service.post is not a registered keyword. 


Note 2:  Google PlusOne is disabled, enabling causes the following warnings and errors.

  • Warning: Element name g:plusone cannot be represented as XML 1.0.
  • Error: Element g:plusone not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
  • Error: Self-closing syntax (/>) used on a non-void HTML element. Ignoring the slash and treating as a start tag.
  • Error: End tag div seen, but there were open elements.
  • Error: Unclosed element g:plusone.
The PlusOne problem appears to be outside of the template in the call: <data:post.googlePlusShareTag/>
The problem seems to originate in some template embedded JS scripting that is also server-side included (replaced by the service if removed).