--- rdf_format.inc.orig	2010-05-06 11:22:35.000000000 +0100
+++ rdf_format.inc	2010-05-06 11:26:37.000000000 +0100
@@ -174,6 +174,10 @@ function taxonomy_xml_rdf_parse(&$data, 
   // $predicate_synonyms is a translation array to match rdf-speak with Drupal concepts
   $predicate_synonyms = taxonomy_xml_relationship_synonyms();
 
+  foreach ($vocabularies as $vocabulary) {
+    module_invoke_all('vocab_presave', $vocabulary);
+  }
+
   //
   // START MAKING TERMS
   //
@@ -291,6 +295,10 @@ function taxonomy_xml_rdf_parse(&$data, 
   // Couldn't do so until they had all been given tids.
   taxonomy_xml_set_term_relations($terms);
 
+  foreach ($vocabularies as $vocabulary) {
+    module_invoke_all('vocab_postsave', $vocabulary);
+  }
+
   #dpm(array('After re-linking, we now have all terms set' => $terms));
 
   return $terms;
