Hard refactoring. CodecEngine is associated to a unique stack.
[anna.git] / include / anna / xml / DTDFile.hpp
index 0068ced..da1e5fd 100644 (file)
@@ -20,10 +20,12 @@ namespace xml {
 */
 class DTDFile : public DTD {
 public:
+
   /**
-     Constructor.
+     Constructor
+     \param file File name
   */
-  DTDFile() {;}
+  DTDFile(const char *file = NULL) { if (file) initialize(file); }
 
 private:
   _xmlDtd* parse(const char* fileName) const throw(RuntimeException);