RDFa 1.1 was published last month and requires namespaces to be serialized in a prefix attribute. This effectively backports the RDFa changes which happened in Drupal 8 at #1077566: Convert html.tpl.php to HTML5.

CommentFileSizeAuthor
#1 1674260_1_fusion_rdfa11.patch3.66 KBscor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scor’s picture

Status: Active » Needs review
FileSize
3.66 KB

this patch changes the way the namespace prefixes are declared in HTML. xmlns is not longer used, the new prefix attribute is used instead.

Fixed other validation issues:
- Fixed doctype, RDFa 1.1 works also with the vanilla HTML5 doctype
- @profile and @version are deprecated
- replaced xml:lang with lang

  • Commit a15b79b on 7.x-2.x by Poieo:
    Issue #1674260 by scor: RDFa 1.1 Update
    
Poieo’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)

  • Commit a15b79b on master, 7.x-2.x by Poieo:
    Issue #1674260 by scor: RDFa 1.1 Update