--- parser3/src/classes/xdoc.C 2004/03/10 10:42:11 1.144 +++ parser3/src/classes/xdoc.C 2005/08/09 08:14:48 1.148 @@ -1,7 +1,7 @@ /** @file Parser: @b xdoc parser class. - 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) */ @@ -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/08/09 08:14:48 $"; #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