fixing xml well-formedness errors revealed by attempted import into Veridian.