Added NDN_ERROR_decodeBinaryXMLKeyLocator_unrecognized_key_locator_type
diff --git a/ndn-cpp/c/errors.c b/ndn-cpp/c/errors.c
index 438c9c3..394ffa2 100644
--- a/ndn-cpp/c/errors.c
+++ b/ndn-cpp/c/errors.c
@@ -50,6 +50,8 @@
     return      "unrecognized ndn_ExcludeType";
   case NDN_ERROR_unrecognized_ndn_KeyLocatorType:
     return      "unrecognized ndn_KeyLocatorType";
+  case NDN_ERROR_decodeBinaryXMLKeyLocator_unrecognized_key_locator_type:
+    return      "decodeBinaryXMLKeyLocator unrecognized key locator type";
   default:
     return "unrecognized ndn_Error code";  
   }
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index 67b6061..1f1e9af 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -32,7 +32,8 @@
   NDN_ERROR_DynamicUCharArray_realloc_function_pointer_not_supplied,
   NDN_ERROR_DynamicUCharArray_realloc_failed,
   NDN_ERROR_unrecognized_ndn_ExcludeType,
-  NDN_ERROR_unrecognized_ndn_KeyLocatorType
+  NDN_ERROR_unrecognized_ndn_KeyLocatorType,
+  NDN_ERROR_decodeBinaryXMLKeyLocator_unrecognized_key_locator_type
 } ndn_Error;
   
 /**