Fixed xml error line numbers with entities being prepended to the validated XML