|
|
| version 1.3, 2001/09/20 07:31:51 | version 1.6, 2001/09/26 10:32:25 |
|---|---|
| Line 2 | Line 2 |
| Parser: @b dom parser class. | Parser: @b dom parser class. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) |
| */ | |
| static const char *RCSId="$Id$"; | |
| #if _MSC_VER | |
| # pragma warning(disable:4291) // disable warning | |
| // "no matching operator delete found; memory will not be freed if initialization throws an exception | |
| #endif | |
| $Id$ | |
| */ | |
| #include "classes.h" | #include "classes.h" |
| #ifdef XML | |
| #include "pa_request.h" | #include "pa_request.h" |
| #include "pa_vdnode.h" | #include "pa_vdnode.h" |
| Line 67 static void _select(Request& r, const St | Line 63 static void _select(Request& r, const St |
| result.set_name(method_name); | result.set_name(method_name); |
| r.write_no_lang(result); | r.write_no_lang(result); |
| } catch(const XSLException& e) { | } catch(const XSLException& e) { |
| _throw(pool, &expression, e); | r._throw(&expression, e); |
| } | } |
| } | } |
| Line 98 static void _select_single(Request& r, c | Line 94 static void _select_single(Request& r, c |
| r.write_no_lang(result); | r.write_no_lang(result); |
| } | } |
| } catch(const XSLException& e) { | } catch(const XSLException& e) { |
| _throw(pool, &expression, e); | r._throw(&expression, e); |
| } | } |
| } | } |
| Line 118 MDnode::MDnode(Pool& apool) : Methoded(a | Line 114 MDnode::MDnode(Pool& apool) : Methoded(a |
| Methoded *Dnode_class; | Methoded *Dnode_class; |
| // creator | #endif |
| // creator | |
| Methoded *MDnode_create(Pool& pool) { | Methoded *MDnode_create(Pool& pool) { |
| return Dnode_class=new(pool) MDnode(pool); | return |
| #ifdef XML | |
| Dnode_class=new(pool) MDnode(pool) | |
| #else | |
| 0 | |
| #endif | |
| ; | |
| } | } |