--- parser3/src/classes/xnode.C 2001/10/22 16:44:42 1.15 +++ parser3/src/classes/xnode.C 2001/11/05 11:46:22 1.18 @@ -2,9 +2,9 @@ Parser: @b dom parser class. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: xnode.C,v 1.15 2001/10/22 16:44:42 parser Exp $ + $Id: xnode.C,v 1.18 2001/11/05 11:46:22 paf Exp $ */ #include "classes.h" #ifdef XML @@ -279,7 +279,7 @@ static void _getElementsByTagName(Reques skey << buf; } - result.hash().put(skey, new(pool) VXnode(pool, nodes->item(i), false)); + result.hash(0).put(skey, new(pool) VXnode(pool, nodes->item(i), false)); } } @@ -302,7 +302,7 @@ static void _select(Request& r, const St // expression const String& expression=params->as_string(0, "expression must be string"); - const char *expression_cstr=expression.cstr(String::UL_AS_IS); + const char *expression_cstr=expression.cstr(); XalanDOMString dstring(expression_cstr); const XalanDOMChar *expression_dcstr=dstring.c_str(); @@ -324,7 +324,7 @@ static void _select(Request& r, const St skey << buf; } - result.hash().put(skey, new(pool) VXnode(pool, list.item(i), false)); + result.hash(0).put(skey, new(pool) VXnode(pool, list.item(i), false)); } result.set_name(method_name); r.write_no_lang(result); @@ -340,7 +340,7 @@ static void _selectSingle(Request& r, co // expression const String& expression=params->as_string(0, "expression must be string"); - const char *expression_cstr=expression.cstr(String::UL_AS_IS); + const char *expression_cstr=expression.cstr(); XalanDOMString dstring(expression_cstr); const XalanDOMChar *expression_dcstr=dstring.c_str();