--- parser3/src/classes/xnode.h 2005/08/09 08:14:49 1.24 +++ 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/09 08:14:49 $"; +static const char * const IDENT_XNODE_H="$Date: 2007/04/23 10:30:10 $"; class MXnode: public Methoded { public: // Value @@ -29,7 +29,7 @@ public: // Value public: // VStateless_class Value* create_new_value(Pool&, HashStringValue&) { - throw Exception("parser.runtime", + 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