xpathcontext bug with mixing lxml & libxml2