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
*            the target slot within the new container
	 * @throws ContentException
	 *             If the element cannot be placed into the target element or
	 *             slot, perhaps because the element is of the wrong type, the
	 *             slot is full, or other error.
	 * @see SlotHandle
	 */
	public void moveTo( DesignElementHandle newContainer, int toSlot )
			throws ContentException
	{
		DesignElement element = getElement( );
		DesignElement oldContainer = element.getContainer( );
		if ( oldContainer == null )
			throw new ContentException( element, -1,
					ContentException.DESIGN_EXCEPTION_HAS_NO_CONTAINER );
		int oldSlot = element.getContainerSlot( );
		assert oldSlot != -1;
		ContentCommand cmd = new ContentCommand( module, oldContainer );
		cmd.move( element, oldSlot, newContainer.getElement( ), toSlot );
	}
	/**
	 * Drops this element from the design. Removes the element from its
	 * container and name space, if any.
	 * <p>
	 * Note: If this element is referenceable, the property referring it will be
	 * set null.
	 * 
	 * @throws SemanticException
	 *             if this element has no container or the element cannot be
	 *             dropped.