Updated license
[anna.git] / include / anna / xml / DocumentFile.hpp
index 7e51f1c..195f0c9 100644 (file)
@@ -1,4 +1,4 @@
-// ANNA - Anna is Not 'N' Anymore
+// ANNA - Anna is Not Nothingness Anymore
 //
 // (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
 //
@@ -73,7 +73,7 @@ public:
    * \return Root node
    * \warning Need previous initialization
    */
-  const Node* parse() throw(RuntimeException) { return (a_rootNode = parse()); }
+  const Node* parse() throw(RuntimeException) { return (a_rootNode = Document::parse()); }
 
   /**
    * Parse xml document with dtd and return root node
@@ -81,7 +81,7 @@ public:
    * \return Root node
    * \warning Need previous initialization
    */
-  const Node* parse(const DTD& dtd) throw(RuntimeException) { return (a_rootNode = parse(dtd)); }
+  const Node* parse(const DTD& dtd) throw(RuntimeException) { return (a_rootNode = Document::parse(dtd)); }
 
   /**
    * XML representation from loaded document