String aggRootDirPath = aggRootDir.getAbsolutePath().replace('\\', '/');
String dlgDescPath = dlgInstDesc.getMainComponentDesc().replaceAll(
PMControllerHelper.MAIN_ROOT_REGEX, StringUtil.toRegExpReplacement(aggRootDirPath));
// parse component descriptor
XMLInputSource xmlSource = null;
ResourceSpecifier dlgSpecifier = null;
try {
xmlSource = new XMLInputSource(dlgDescPath);
XMLParser xmlParser = UIMAFramework.getXMLParser();
dlgSpecifier = xmlParser.parseResourceSpecifier(xmlSource);
} catch (InvalidXMLException xmlExc) {