Egbert Eich - 2021-10-25

The issue is due to bogus input data where an entity reference does not end in a ';'. The proposed patch addresses this.