} catch (IOException e) {
throw new AssertionError("Should not fail in reading a string.");
}
// Build a SoyMsgBundle from the parsed data (stored in xliffSaxHandler).
return new SoyMsgBundleImpl(xliffSaxHandler.getTargetLocaleString(), xliffSaxHandler.getMsgs());
}