Remove bug wherein tempfilename is left open if parsing raises a ContextException, so fixing two issues in source by patching leaves two open files, which when closed on exit lead to invalid XML (unspotted as is fine at time xmlvalidate runs).
Remove bug wherein tempfilename is left open if parsing raises a ContextException, so fixing two issues in source by patching leaves two open files, which when closed on exit lead to invalid XML (unspotted as is fine at time xmlvalidate runs).

git-svn-id: 285608342ca21a36fbe1c940a1767f009072314d@9881 9cc54934-f9f6-0310-8a8d-e8e977684441

henare/parlparse,henare/parlparse,spudmind/parlparse,henare/parlparse,spudmind/parlparse,spudmind/parlparse,spudmind/parlparse,henare/parlparse,henare/parlparse,spudmind/parlparse