--- rdf.module	2010-03-09 01:20:52.000000000 +0000
+++ rdf.module.476280	2010-03-09 01:20:40.000000000 +0000
@@ -45,7 +45,9 @@ function rdf_init() {
   if (variable_get('rdf_rdfa_doctype', FALSE)) {
     // Implement hook_exit() to mark us as incompatible with aggressive caching:
     function rdf_exit($destination = NULL) {}
-    ob_start('_rdf_ob_handler');
+    // Don't replace RDFa into AJAX requests
+    if (arg(0) != 'admin' && arg(0) != 'filefield' && arg(1) != 'js_add_more' && arg(1) != 'js') {
+      ob_start('_rdf_ob_handler');
+    }
   }
 }
 
