--- parser3/src/classes/xnode.C 2015/10/09 11:42:38 1.90 +++ parser3/src/classes/xnode.C 2016/04/06 16:08:19 1.93 @@ -1,7 +1,7 @@ /** @file Parser: @b dom parser class. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #include "classes.h" @@ -21,11 +21,11 @@ #include "libxml/xpath.h" #include "libxml/xpathInternals.h" -volatile const char * IDENT_XNODE_C="$Id: xnode.C,v 1.90 2015/10/09 11:42:38 moko Exp $" IDENT_XNODE_H; +volatile const char * IDENT_XNODE_C="$Id: xnode.C,v 1.93 2016/04/06 16:08:19 moko Exp $" IDENT_XNODE_H; // global variable -DECLARE_CLASS_VAR(xnode, new MXnode, 0); +DECLARE_CLASS_VAR(xnode, new MXnode); // classes @@ -869,9 +869,7 @@ static void _selectString(Request& r, Me // constructor /// @bug one can change const and ruin other's work, we need unchangable VIntConst class -MXnode::MXnode(const char* aname, VStateless_class *abase): - Methoded(aname?aname:"xnode", abase) -{ +MXnode::MXnode(const char* aname): Methoded(aname?aname:"xnode") { /// DOM1 node // Node insertBefore(in Node newChild,in Node refChild) raises(DOMException); @@ -964,6 +962,6 @@ MXnode::MXnode(const char* aname, VState // global variable -DECLARE_CLASS_VAR(xnode, 0, 0); // fictive +DECLARE_CLASS_VAR(xnode, 0); // fictive #endif