[PATCH 1/2] xmllite/writer: properly validate DocType name