} else if (storeItemId.toUpperCase().equals(EXTENDED_PROPERTIES_STOREITEMID) ) {
return pkg.getDocPropsExtendedPart().xpathGetString(xpath, prefixMappings);
}
CustomXmlPart part = customXmlDataStorageParts.get(storeItemId.toLowerCase());
// Also handles cover page properties (since we've allocated it a store item id)
// Note that Word does not create that part until the user provides one or more prop values
if (part==null) {
throw new InputIntegrityException("Couldn't locate part by storeItemId " + storeItemId);
// log.error("Couldn't locate part by storeItemId " + storeItemId);
// return null;
}
String r = part.xpathGetString(xpath, prefixMappings);
if (r==null) {
// never expect null, since an empty result set is converted to an empty string
log.error(xpath + " unexpectedly null!");
return r;
} else if (r.equals("")) {