public Object visit(final BBOX bbox, final Object o) {
if (bbox.getExpression1() instanceof PropertyName) {
final PropertyName pt = (PropertyName) bbox.getExpression1();
if (pt.getPropertyName().equals("")) return true;
try{
<BUG>final PropertyType desc = ft.getProperty(pt.getPropertyName());
return AttributeConvention.isGeometryAttribute(desc);</BUG>
}catch(PropertyNotFoundException ex){
return false;
}

public Object visit(final BBOX bbox, final Object o) {
if (bbox.getExpression1() instanceof PropertyName) {
final PropertyName pt = (PropertyName) bbox.getExpression1();
if (pt.getPropertyName().equals("")) return true;
try{
final PropertyType desc = pt.evaluate(ft, PropertyType.class);
return AttributeConvention.isGeometryAttribute(desc);
}catch(PropertyNotFoundException ex){
return false;
