pre-commit script no control blanks, xml bug solved
[anna.git] / include / anna / xml / DocumentFile.hpp
index 7e51f1c..9283e60 100644 (file)
@@ -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