improve error message in Marcxml assertion