parser: Only report a single entity error Don't report errors multiple times for nested entity references.