xmiparser1-5 looks abandoned and not as extensible as I'd like it to be. It needs to take account for vanilla OMG specifications and have ability to modify/extend beyond that specification to be a genuine 'agnostic' and reliable tool.
link to current development effort.
Will eventually be a submodule.