The XTCformat code needs a more graceful mechanism for failing and returning an error. The current code calls exit() which will, of course, kill any application calling libopenbabel.
For 2.2.1, this code has been revised to simply call return(), but there must be a better error handling mechanism for this code.