*/
package org.apache.fop.fo;
+import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.datatypes.*;
import org.apache.fop.fo.expr.Numeric;
import org.apache.fop.fo.expr.PropertyParser;
return setSubprop(baseProp, partName, p);
}
}
- return null;
+ else {
+ MessageHandler.errorln("WARNING: compound property component " + partName + " unknown.");
+ }
+ return baseProp;
}
/**
pret.setSpecifiedValue(pvalue);
return pret;
} catch (org.apache.fop.fo.expr.PropertyException propEx) {
- System.err.println("Error in " + propName + " property value: "
+ MessageHandler.errorln("Error in " + propName + " property value: "
+ propEx);
throw new FOPException("Property error");
}
try {
return make(propertyList, specVal, null);
} catch (FOPException e) {
- System.err.println("Error computing property value for " +
+ MessageHandler.errorln("Error computing property value for " +
propName + " from " + specVal);
return null;
}