Invalid XML bug in Registrar plugin