settings = (GeneratorSettings) XMLDriver.getInstance().deserializeStream(GeneratorSettings.class, is);
// Perform post-processing
StandardMsgContainer msgs = new StandardMsgContainer();
settings.setModel(item.getModel());
settings.afterDeserialization(msgs);
if (!msgs.isEmpty())
{
// Report errors that occured during the post-processing
JMsgBox.show(null, msgs.toString(), JMsgBox.TYPE_OKLATER | JMsgBox.ICON_ERROR);
}