better error message in libxml2 filter, also avoid a compiler warning (unused xmlError)