--- parser3/src/include/pa_globals.h 2001/12/27 19:57:08 1.72 +++ parser3/src/include/pa_globals.h 2002/02/08 08:30:13 1.78 @@ -1,10 +1,10 @@ /** @file Parser: global decls. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_globals.h,v 1.72 2001/12/27 19:57:08 paf Exp $ + $Id: pa_globals.h,v 1.78 2002/02/08 08:30:13 paf Exp $ */ #ifndef PA_GLOBALS_H @@ -140,10 +140,17 @@ extern String *hash_default_element_name extern Hash *untaint_lang_name2enum; -/// DOMImplementation -GdomeDOMImplementation *domimpl; - /// UTF8 charset extern Charset *utf8_charset; +#ifdef XML +/// DOMImplementation +extern GdomeDOMImplementation *domimpl; + +/// flag whether there were some xml generic errors on current thread +bool xmlHaveGenericErrors(); +/// get xml generic error accumulated for current thread. WARNING: it is up to caller to free up +const char *xmlGenericErrors(); +#endif + #endif