Modified fix for bug # 575168 to correct behaviour when endElementHandler was set after startElementHandler was called.
Modified fix for bug # 575168 to correct behaviour when endElementHandler
was set after startElementHandler was called.

cgwalters/expat-git-mirror,cgwalters/expat-git-mirror,cgwalters/expat-git-mirror