Bug 156324 Selectively broadcast event for older library
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSetState.java
* @param extensionNameRequired
	 *            whether extension name is required
	 */
	private void parseODADataSetExtensionID( 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 );
			return;
		}
		if ( handler.versionNumber < VersionUtil.VERSION_3_0_0 )
		{
			if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) )
				extensionID = NEW_FLAT_FILE_ID;
		}
		setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, extensionID );
		provider = ( (OdaDataSet) element ).getProvider( );
		if ( provider == null )
			return;
		if ( provider instanceof OdaDummyProvider )
		{
			SemanticError e = new SemanticError( element,
					new String[]{extensionID},