--- parser3/src/include/pa_stylesheet_connection.h 2002/08/01 11:41:16 1.30 +++ parser3/src/include/pa_stylesheet_connection.h 2003/02/17 17:05:03 1.32.2.2 @@ -1,14 +1,14 @@ /** @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) */ #ifndef PA_STYLESHEET_CONNECTION_H #define PA_STYLESHEET_CONNECTION_H -static const char* IDENT_STYLESHEET_CONNECTION_H="$Date: 2002/08/01 11:41:16 $"; +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 @@ static const char* IDENT_STYLESHEET_CONN /** 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);