mainPartNameObj = new PartName("/" + mainPartName);
}
String pkgContentType = ctm.getContentType(mainPartNameObj);
// 2. Create a new Package; this'll return the appropriate subclass
OpcPackage p = ctm.createPackage(pkgContentType);
log.info("Instantiated package of type " + p.getClass().getName() );
p.setSourcePartStore(partStore);
p.setRelationships(rp);
rp.setSourceP(p); //