etree should be fed a string, not utf-8 because that confuses lxml if an encoding actually is declared