Bug 148761 Unable to copy a report item from template to report
Steps: 1. Create a template, add a Text item "t1" or others 2. Create template item using "t1" 3. Double click the template item and we get a report item again. 4. We copy the item, paste to another report file. Expected: the text item can be copied. Actual result: Nothing happened, not copied and no error msg.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/TableHeaderContextContainmentValidator.java
* element and its slotId is <code>TableItem.HEADER_SLOT</code>.
	 * 
	 * @param module
	 *            the module
	 * @param toValidate
	 *            the element to validate
	 * @param slotId
	 *            the slot id
	 * @return <code>true</code> if <code>toValidate</code> is a table item
	 *         or nested in the table item and the table slot is
	 *         <code>TableItem.HEADER_SLOT</code>.
	 */
	private List doValidate( Module module, DesignElement toValidate, int slotId )
	{
		List list = new ArrayList( );
		DesignElement curContainer = toValidate;
		int curSlotID = slotId;
		if ( slotId == DesignElement.NO_SLOT )
		{
			curContainer = toValidate.getContainer( );
			curSlotID = toValidate.getContainerSlot( );
		}
		while ( curContainer != null )
		{
			IElementDefn containerDefn = curContainer.getDefn( );
			if ( ReportDesignConstants.TABLE_ITEM
					.equalsIgnoreCase( containerDefn.getName( ) )
					&& curSlotID == TableItem.HEADER_SLOT )
			{
				list