--- parser3/src/classes/xnode.C 2003/02/04 14:12:43 1.54.2.3 +++ parser3/src/classes/xnode.C 2003/02/04 15:15:03 1.54.2.4 @@ -7,7 +7,7 @@ #include "classes.h" #ifdef XML -static const char* IDENT_XNODE_C="$Date: 2003/02/04 14:12:43 $"; +static const char* IDENT_XNODE_C="$Date: 2003/02/04 15:15:03 $"; #include "pa_vmethod_frame.h" @@ -103,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); } @@ -115,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); @@ -140,7 +140,7 @@ static void _insertBefore(Request& r, St r.write_no_lang(result); } else throw Exception( - &method_name, + method_name, exc); } @@ -158,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); } @@ -175,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); } @@ -192,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); } @@ -231,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); @@ -264,7 +264,7 @@ static void _setAttribute(Request& r, St &exc); if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -278,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); } @@ -295,7 +295,7 @@ static void _getAttributeNode(Request& r r.write_no_lang(result); } else if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -312,7 +312,7 @@ static void _setAttributeNode(Request& r r.write_no_lang(result); } else throw Exception( - &method_name, + method_name, exc); } @@ -326,7 +326,7 @@ static void _removeAttributeNode(Request gdome_el_removeAttributeNode(element, oldAttr, &exc); if(exc) throw Exception( - &method_name, + method_name, exc); } @@ -354,7 +354,7 @@ static void _getElementsByTagName(Reques } } else if(exc) throw Exception( - &method_name, + method_name, exc); // write out result @@ -404,7 +404,7 @@ static void _normalize(Request& r, Strin gdome_n_normalize(selfNode, &exc); if(exc) throw Exception( - &method_name, + method_name, exc); }