--- parser3/src/include/pa_stylesheet_connection.h 2002/03/27 15:30:35 1.28 +++ parser3/src/include/pa_stylesheet_connection.h 2003/02/17 17:05:03 1.32.2.2 @@ -1,15 +1,15 @@ /** @file Parser: Stylesheet connection decl. - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: pa_stylesheet_connection.h,v 1.28 2002/03/27 15:30:35 paf Exp $ */ #ifndef PA_STYLESHEET_CONNECTION_H #define PA_STYLESHEET_CONNECTION_H +static const char* IDENT_STYLESHEET_CONNECTION_H="$Date: 2003/02/17 17:05:03 $"; + #include "libxslt/xslt.h" #include "libxslt/xsltInternals.h" @@ -25,7 +25,7 @@ /** Connection with stylesheet: remembers time and can figure out that it needs recompilation */ -class Stylesheet_connection : public Pooled { +class Stylesheet_connection: public Pooled { friend class Stylesheet_connection_ptr; @@ -79,8 +79,11 @@ private: void load(time_t new_disk_time) { Pool& pool=*fservices_pool; + int saved=xmlDoValidityCheckingDefaultValue;// + xmlDoValidityCheckingDefaultValue=0;// xsltStylesheet *nstylesheet= xsltParseStylesheetFile(BAD_CAST ffile_spec.cstr(String::UL_FILE_SPEC)); + xmlDoValidityCheckingDefaultValue = saved;// if(xmlHaveGenericErrors()) { GdomeException exc=0; throw Exception(&ffile_spec, exc);