Improve xml parsing on diameter codec
[anna.git] / include / anna / diameter / codec / functions.hpp
index 563b501..43dfa92 100644 (file)
@@ -114,8 +114,6 @@ static const char *MessageDTD = "\
 ";
 
 
-
-
 // Used for alarms, tracing and Failed-AVP construction:
 typedef struct parent {
 
@@ -320,7 +318,7 @@ struct functions {
      For example, you could load the document to be decoded over a codec Message by mean #Message::fromXML (using
      the xml document #getRootNode) during document lifetime. After that, it could be destroyed.
    */
-  static void messageXmlDocumentFromXmlString(anna::xml::DocumentFile &xmlDocument, const std::string &xmlString) throw(anna::RuntimeException);
+  static void messageXmlDocumentFromXmlString(anna::xml::DocumentMemory &xmlDocument, const std::string &xmlString) throw(anna::RuntimeException);
 };