Added work around for older versions of libxml < 2.7.8.