if ( StringUtil.compareVersion( handler.getVersion( ), "3" ) < 0 ) { if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; }
if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; }
	private void parseODADataSourceExtensionID( Attributes attrs,			boolean extensionNameRequired )	{		String extensionID = getAttrib( attrs,				DesignSchemaConstants.EXTENSION_ID_ATTRIB );		if ( StringUtil.isBlank( extensionID ) )		{			if ( !extensionNameRequired )				return;			SemanticError e = new SemanticError( element,					SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION );			RecoverableError.dealMissingInvalidExtension( handler, e );		}		else		{			if ( StringUtil.compareVersion( handler.getVersion( ), "3" ) < 0 ) //$NON-NLS-1$			{				if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) )					extensionID = NEW_FLAT_FILE_ID;			}			if ( ODAProviderFactory.getInstance( ).createODAProvider( element,					extensionID ) == null )				return;			if ( !ODAProviderFactory.getInstance( ).createODAProvider( element,					extensionID ).isValidODADataSourceExtensionID( extensionID ) )			{				SemanticError e = new SemanticError( element,						new String[]{extensionID},						SemanticError.DESIGN_EXCEPTION_EXTENSION_NOT_FOUND );				RecoverableError.dealMissingInvalidExtension( handler, e );			}		}		setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, extensionID );	}