protected Instrument getInstrumentFromXml(String instrumentXML) throws Exception {
    BindFactory geometryBindFactory = GeometryBindFactory.getInstance();
    File inputFile = getInputFile(inputInstrumentXML, geometryBindFactory);
    Instrument instrument = (Instrument) geometryBindFactory.unmarshalXml(inputFile, true);
    instrument.updateComponents();

    return instrument;
  }