Bug 150776 Binding parameters of datasources are not evaluated when datasource in a library
I used to defined a datasource with binding parameters (depending on parameters ...). It works well when datasource is defined in the report, but when i tried to put this datasource in a library, binding expressions are not evaluated or not used by the datasource. When debugging the code, two datasources appears, the initial from the library (module=Library) and the linked from the report (module=ReportDesign). The dataset used the datasource of the report, but no binding values are found on the report datasource. The datasource from the library is evaluated correctly but not used.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
{
				DesignElementHandle h1 = (DesignElementHandle) arg0;
				DesignElementHandle h2 = (DesignElementHandle) arg1;
				String s1 = h1.getDisplayLabel( );
				String s2 = h2.getDisplayLabel( );
				return s1.compareTo( s2 );
			}
		} );
	}
	/**
	 * Returns whether the element is valid or not. An element may be valid even
	 * though it has some semantic errors.
	 * 
	 * @return <code>true</code> if this element is valid, otherwise
	 *         <code>false</code>.
	 */
	public boolean isValid( )
	{
		return getElement( ).isValid( );
	}
	/**
	 * Determines whether to show an error item on the element or not. Show an
	 * error item if the element is invalid or has semantic errors, otherwise
	 * not.
	 * 
	 * @return true if the element has semantic error or the element is invalid
	 */
	public boolean showError( )
	{
		return hasSemanticError( ) || !isValid( );