--- parser3/src/classes/xdoc.C 2004/03/10 10:42:11 1.144 +++ parser3/src/classes/xdoc.C 2005/07/28 11:23:01 1.147 @@ -9,7 +9,7 @@ #ifdef XML -static const char * const IDENT_XDOC_C="$Date: 2004/03/10 10:42:11 $"; +static const char * const IDENT_XDOC_C="$Date: 2005/07/28 11:23:01 $"; #include "gdome.h" #include "libxml/tree.h" @@ -43,7 +43,7 @@ static const char * const IDENT_XDOC_C=" class MXdoc: public MXnode { public: // VStateless_class - Value* create_new_value(Pool&) { return new VXdoc(0, 0); } + Value* create_new_value(Pool&, HashStringValue&) { return new VXdoc(0, 0); } public: MXdoc(); @@ -727,7 +727,7 @@ static void _string(Request& r, MethodPa 0/*not to file, to memory*/, true/*use source charset to render, client charset to put to header*/); // write out result - r.write_no_lang(String(buf.str, buf.length)); + r.write_no_lang(String(String::Body(buf.str), String::L_AS_IS)); } #ifndef DOXYGEN