--- parser3/src/classes/xnode.C 2003/02/04 14:04:47 1.54.2.2 +++ parser3/src/classes/xnode.C 2003/02/04 15:15:03 1.54.2.4 @@ -7,7 +7,9 @@ #include "classes.h" #ifdef XML -static const char* IDENT_XNODE_C="$Date: 2003/02/04 14:04:47 $"; +static const char* IDENT_XNODE_C="$Date: 2003/02/04 15:15:03 $"; + +#include "pa_vmethod_frame.h" #include "pa_charset.h" #include "pa_request.h" @@ -101,7 +103,7 @@ GdomeNode *as_node(StringPtr method_name return static_cast(vxnode)->get_node(&method_name); else throw Exception("parser.runtime", - &method_name, + method_name, msg); } @@ -113,7 +115,7 @@ GdomeAttr * as_attr(Pool& pool, StringPt GdomeException exc; if(gdome_n_nodeType(node, &exc)!=GDOME_ATTRIBUTE_NODE) throw Exception("parser.runtime", - &method_name, + method_name, msg); return GDOME_A(node); @@ -138,7 +140,7 @@ static void _insertBefore(Request& r, St r.write_no_lang(result); } else throw Exception( - &method_name, + method_name, exc); } @@ -156,7 +158,7 @@ static void _replaceChild(Request& r, St r.write_no_lang(*new(pool) VXnode(pool, retNode)); } else throw Exception( - &method_name, + method_name, exc); } @@ -173,7 +175,7 @@ static void _removeChild(Request& r, Str r.write_no_lang(*new(pool) VXnode(pool, retNode)); } else throw Exception( - &method_name, + method_name, exc); } @@ -190,7 +192,7 @@ static void _appendChild(Request& r, Str r.write_no_lang(*new(pool) VXnode(pool, retNode)); } else throw Exception( - &method_name, + method_name, exc); } @@ -229,7 +231,7 @@ GdomeElement *get_self_element(Request& GdomeException exc; if(gdome_n_nodeType(node, &exc)!=GDOME_ELEMENT_NODE) throw Exception("parser.runtime", - &method_name, + method_name, "method can only be called on nodes of ELEMENT type"); return GDOME_EL(node); @@ -262,7 +264,7 @@ static void _setAttribute(Request& r, St &exc); if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -276,7 +278,7 @@ static void _removeAttribute(Request& r, gdome_el_removeAttribute(element, pool.transcode(name).get(), &exc); if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -293,7 +295,7 @@ static void _getAttributeNode(Request& r r.write_no_lang(result); } else if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -310,7 +312,7 @@ static void _setAttributeNode(Request& r r.write_no_lang(result); } else throw Exception( - &method_name, + method_name, exc); } @@ -324,7 +326,7 @@ static void _removeAttributeNode(Request gdome_el_removeAttributeNode(element, oldAttr, &exc); if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -352,7 +354,7 @@ static void _getElementsByTagName(Reques } } else if(exc) throw Exception( - &method_name, + method_name, exc); // write out result @@ -402,7 +404,7 @@ static void _normalize(Request& r, Strin gdome_n_normalize(selfNode, &exc); if(exc) throw Exception( - &method_name, + method_name, exc); }