Property baseProperty = findBaseProperty(attributes,
parentFO, propId, basePropertyName, propertyMaker);
int subpropId = FOPropertyMapping.getSubPropertyId(subPropertyName);
+ if (subpropId == -1) {
+ handleInvalidProperty(attributeName);
+ return;
+ }
prop = propertyMaker.make(baseProperty, subpropId,
this, attributeValue, parentFO);
}
private void handleInvalidProperty(String attributeName) {
if (!attributeName.startsWith("xmlns")) {
- //log.error("property '"
- // + attributeName + "' ignored");
+ log.error("property '" + attributeName + "' ignored");
}
}