Julien PUYDT wrote:
> Kyle a écrit :
>> Of course, it would be much nicer is if libxml++ didn't have such a 
>> heavy dependency on glibmm just for ustring's.
> 
> Is libxml++ that interesting when compared to directly using libxml2 ?
> 
> Snark
> 
After a quick glance through the libxml2 api, it certainly seems doable 
to switch to libxml2 directly. Though considering all the places that 
libxml++ is used in the code, it would not be trivial. Throughout the 
code xml objects are passed around, to remove these objects and replace 
them with C code would be a pain. See the LoadXml functions in the 
weapons or objects for examples of this.

Of course, another possible alternative is to embed the ustring class 
itself into libxml++, and distribute our own version of that / ask the 
maintainers to do this too. I suspect that this won't fly though.

kyle

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à