Report unfinished entity references as errors rather than running into an