[lxml] attributes() in DTD - possible bug?