--- parser3/src/classes/xnode.h 2005/08/05 13:02:58 1.22.14.1 +++ parser3/src/classes/xnode.h 2007/04/23 10:30:10 1.26 @@ -8,7 +8,7 @@ #ifndef XNODE_H #define XNODE_H -static const char * const IDENT_XNODE_H="$Date: 2005/08/05 13:02:58 $"; +static const char * const IDENT_XNODE_H="$Date: 2007/04/23 10:30:10 $"; class MXnode: public Methoded { public: // Value @@ -28,8 +28,8 @@ public: // Value public: // VStateless_class - Value* create_new_value() { - throw Exception("parser.runtime", + Value* create_new_value(Pool&, HashStringValue&) { + throw Exception(PARSER_RUNTIME, 0, "no constructors available, use CreateXXX DOM methods to create nodes instead"); } @@ -45,6 +45,8 @@ private: HashStringValue consts; }; -GdomeNode* as_node(MethodParams& params, int index, const char* msg); +xmlNode& as_node(MethodParams& params, int index, const char* msg); +xmlChar* as_xmlchar(Request& r, MethodParams& params, int index, const char* msg); +xmlNs& pa_xmlMapNs(xmlDoc& doc, const xmlChar* href, const xmlChar* prefix); #endif