import java.util.Iterator;
import java.util.List;
-import javax.xml.transform.stream.StreamSource;
+import javax.xml.transform.Source;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;
return null;
}
if (embedUrl != null) {
- StreamSource source = (StreamSource)fontResolver.resolve(embedUrl);
+ Source source = fontResolver.resolve(embedUrl);
if (source == null) {
LogUtil.handleError(log,
"Failed to resolve font with embed-url '" + embedUrl + "'", strict);
embedUrl = source.getSystemId(); // absolute path/url
}
if (metricsUrl != null) {
- StreamSource source = (StreamSource)fontResolver.resolve(metricsUrl);
+ Source source = fontResolver.resolve(metricsUrl);
if (source == null) {
LogUtil.handleError(log,
"Failed to resolve font with metric-url '" + metricsUrl + "'", strict);
<changes>
<release version="FOP Trunk">
+ <action context="Code" dev="JM" type="fix" fixes-bug="43464" due-to="Bruno Feurer">
+ Fix to avoid a ClassCastException in renderer configuration.
+ </action>
<action context="Code" dev="JM" type="fix" fixes-bug="43439" due-to="Adrian Cumiskey">
Fixed the restoration of the TLE values from the intermediate format
for the AFP extension elements.