Re: [libxml++] Re: different behavior on solaris/x86 and linux/x86 of Document::create_root_node?
- From: Murray Cumming <murrayc usa net>
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [libxml++] Re: different behavior on solaris/x86 and linux/x86 of Document::create_root_node?
- Date: 22 Aug 2003 15:10:33 +0200
On Fri, 2003-08-22 at 14:51, Stefan Seefeld wrote:
> > I would suggest a little debugging, maybe into libxml too. Some code
> > somewhere is probably purposefully setting a pointer to 0 for some
> > reason.
>
> my guess would be that there is a problem with the global initializer
> object not being created. (that problem was already reported once upon
> a time on a windows platform).
>
> Remember that libxml++'s wrapper mechanism is based on a libxml2
> callback that has to be initialized first. If it isn't, no
> wrappers will ever be created.
>
> The fact that this mechanism is so fragil and not very portable
> (or so it seems) made me change the approach on my own libxml2
> wrapper...
_If_ this is the problem, and there is no simple solution, then maybe we
need an xmlpp::initialize() function instead.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]