Comment 16 for bug 1595781

Revision history for this message
Kovid Goyal (kovid) wrote :

Sounds good. You can specify that the name must be libxml2:xmlDoc and if the user is sure about the libxml2 used versions being compatible, then the context should be set to destructor:xmlFreeDoc for best performance. When the context is set correctly, lxml can take ownership, otherwise it can copy.