XML api: validate genres