--- parser3/src/classes/xdoc.C 2009/04/10 11:31:06 1.157 +++ parser3/src/classes/xdoc.C 2009/05/25 09:20:49 1.159 @@ -9,7 +9,7 @@ #ifdef XML -static const char * const IDENT_XDOC_C="$Date: 2009/04/10 11:31:06 $"; +static const char * const IDENT_XDOC_C="$Date: 2009/05/25 09:20:49 $"; #include "libxml/tree.h" #include "libxml/HTMLtree.h" @@ -647,7 +647,7 @@ static void _file(Request& r, MethodPara oo, 0/*not to file, to memory*/); // write out result - r.write_no_lang(String(buf.str, buf.length)); + r.write_no_lang(String(buf.str)); // write out result VFile& vfile=*new VFile; @@ -683,7 +683,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(String::Body(buf.str), String::L_AS_IS)); + r.write_no_lang(String(buf.str, String::L_AS_IS)); } #ifndef DOXYGEN