Re: [libxml++] Global initialization code



Le Lundi 13 Juin 2005 10:39, Thomas Jarosch a écrit :

> > Can you be more precise ? What is broken exactly ?
> > It the php xml parser is base on libxml2 and use it's callback (as we do
> > with libxml++), then I don't think a cohexistence is possible.
>
> PHP uses libxml2 without those callbacks. As soon as I create a node using
> PHP function calls, I end up in libxml++'s callback :o)

Wait, is the problem the callbacks themselves ? Are they disturbing the php 
xml parser ? the thing is that libxml++ cannot work properly without them.

>
> The problem with the "static" class is that it gets executed
> during library load time. This is why it breaks PHP.

Do you need it not to be executed at all, or only once ?

Regards

Christophe

Attachment: pgphf6egggWNI.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]