--- parser3/src/classes/xnode.h 2005/07/28 11:23:02 1.23 +++ parser3/src/classes/xnode.h 2007/04/23 10:30:10 1.26 @@ -1,14 +1,14 @@ /** @file Parser: @b dnode methods class - MDnode class decl. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef XNODE_H #define XNODE_H -static const char * const IDENT_XNODE_H="$Date: 2005/07/28 11:23:02 $"; +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