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
*             if the element has a duplicate or illegal name
	 * 
	 */
	public void addElement( DesignElementHandle child, int slotId, int pos )
			throws ContentException, NameException
	{
		SlotHandle slotHandle = getSlot( slotId );
		if ( slotHandle != null )
			slotHandle.add( child, pos );
	}
	/**
	 * Adds a report item to the end of the given slot. The item must be newly
	 * created and not yet added to the design.
	 * 
	 * @param child
	 *            handle to the newly created element
	 * @param slotId
	 *            slot id in which the child item will be added.
	 * @throws ContentException
	 *             if the element is not allowed in the slot
	 * @throws NameException
	 *             if the element has a duplicate or illegal name
	 * 
	 */
	public void addElement( DesignElementHandle child, int slotId )
			throws ContentException, NameException
	{
		SlotHandle slotHandle = getSlot( slotId );
		if ( slotHandle != null )
			slotHandle.add( child );