Fixed EntityMalformedException in reserver reference formatter