diff --git a/html.tpl.php b/html.tpl.php
index 27b2683..2728338 100644
--- a/html.tpl.php
+++ b/html.tpl.php
@@ -2,7 +2,7 @@
 <!--[if lt IE 7]> <html class="ie6 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
 <!--[if IE 7]>    <html class="ie7 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
 <!--[if IE 8]>    <html class="ie8 ie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <![endif]-->
-<!--[if gt IE 8]> <!--> <html class="" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"> <!--<![endif]-->
+<!--[if gt IE 8]> <!--> <html class="" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>> <!--<![endif]-->
 <head>
   <?php print $head; ?>
   <!-- Set the viewport width to device width for mobile -->
diff --git a/template.php b/template.php
index 373207b..4679286 100644
--- a/template.php
+++ b/template.php
@@ -10,6 +10,19 @@ function framework_html_head_alter(&$head_elements) {
 }
 
 /**
+ * Implements hook_preprocess_html().
+ */
+function framework_preprocess_html(&$variables, $hook) {
+  // Serialize RDF namespaces into an RDFa 1.1 prefix attribute.
+  if (function_exists('rdf_get_namespaces')) {
+    foreach (rdf_get_namespaces() as $prefix => $uri) {
+      $prefixes[] = $prefix . ': ' . $uri;
+    }
+    $variables['rdf_namespaces'] = ' prefix="' . implode(' ', $prefixes) . '"';
+  }
+}
+
+/**
  * Return a themed breadcrumb trail.
  *
  * @param $breadcrumb
