Fix Issue #4 - Handle incomplete xml files