fix bug when ampersand is last char on line - breaking the numerical entity code
Merge pull request #591 from dougplant/bugfix-ezxmlinputparser

fix bug when ampersand is last char on line