#252 Added simple XML formatting check