X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fxml%2FDocumentFile.hpp;h=9283e6094d3bece0df4774d7883368f10f9c3cbc;hb=884501d2411bc4fdfafae65948262c959e068d7d;hp=7e51f1c520558d4b2b05731009271a0054da076f;hpb=4e12ac57e93c052f716a6305ad8fc099c45899d1;p=anna.git diff --git a/include/anna/xml/DocumentFile.hpp b/include/anna/xml/DocumentFile.hpp index 7e51f1c..9283e60 100644 --- a/include/anna/xml/DocumentFile.hpp +++ b/include/anna/xml/DocumentFile.hpp @@ -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