if ( gmlStreamReader.getGeometryReader().isGeometryElement( xmlStream ) ) { LOG.debug( "Detected geometry property '" + propName + "'." ); propDecl = ( (DynamicFeatureType) ft ).addGeometryPropertyDeclaration( lastPropDecl, propName ); } else { LOG.debug( "Detected complex non-geometry property '" + propName + "'. Treating as feature property." );