All right, I think we’re on the same wavelength again :)
It’s true, John of course wants Ukelele to be as robust as possible, which includes "failing gracefully" when XML files contain errors and cause trouble.
In fact, a few versions ago, I was fiddling with modifier sets without understanding what I was doing (I still don’t, but that’s another chapter) and if I remember correctly, I had defined two sets which overlapped somehow, and that made Ukelele crash repeatedly, until I managed to get them sorted out properly. So even without touching XML, this area seems to be a bit fragile.
I didn’t know there were special editors for XML code, thanks for those. I may want to have a look myself at some point...