--- parser3/src/classes/xdoc.C 2002/01/21 16:53:17 1.68 +++ parser3/src/classes/xdoc.C 2002/01/23 12:19:56 1.71 @@ -4,11 +4,21 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: xdoc.C,v 1.68 2002/01/21 16:53:17 paf Exp $ + $Id: xdoc.C,v 1.71 2002/01/23 12:19:56 paf Exp $ */ #include "pa_types.h" #ifdef XML +#include "gdome.h" +#include "libxml/tree.h" +extern "C" { +#include "gdomecore/gdome-xml-node.h" +#include "gdomecore/gdome-xml-document.h" +}; +#include "libxslt/xsltInternals.h" +#include "libxslt/transform.h" +#include "libxslt/xsltutils.h" + #include "pa_stylesheet_connection.h" #include "classes.h" #include "pa_request.h" @@ -17,12 +27,6 @@ #include "pa_vfile.h" #include "xnode.h" -extern "C" { -#include "gdomecore/gdome-xml-node.h" -#include "gdomecore/gdome-xml-document.h" -}; -#include "libxslt/transform.h" -#include "libxslt/xsltutils.h" // defines @@ -410,7 +414,6 @@ static void _create(Request& r, const St vdoc.set_document(document); } -/// @test xmlSAXParseMemory(NULL<(r.self); @@ -453,7 +461,7 @@ static void _load(Request& r, const Stri &exc); if(!document || exc || xmlHaveGenericErrors()) throw Exception(0, 0, - &method_name, + &uri, exc); // replace any previous parsed source