refactoring and testing for malformed XML returned from BOLD
xml should start from first line
0.0.7