The SourceParser now breaks on non well formed XML, but it shouldn't. Note that the SourceParser applies before the docmodel parsers, so it should be totally oblivious to whether the input is a Timebank file, a simple XML file or a text file.
However, maybe the SourceParser should fail on non well-formed XML if the --source option indicates that the document is supposed to be XML, or at least write an error.
The SourceParser now breaks on non well formed XML, but it shouldn't. Note that the SourceParser applies before the docmodel parsers, so it should be totally oblivious to whether the input is a Timebank file, a simple XML file or a text file.
However, maybe the SourceParser should fail on non well-formed XML if the --source option indicates that the document is supposed to be XML, or at least write an error.