Bug 136241 [regression]Preview template in web viewer and pdf didn't get correct effect.
Description: Preview template items in web viewer and pdf didn't get correct effect. Steps to reproduce: 1. Create template items. 2. Preview in Web Viewer and pdf. Expected result: Same effect as in html. Actual result: In web viewer, see only blank box. In pdf, blank page.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
|| tmpContainer instanceof MasterPage )
			{
				List errors = tmpContainer.checkContent( module, this, slotId,
						element );
				return errors.isEmpty( );
			}
			tmpContainer = tmpContainer.getContainer( );
		}
		return retValue;
	}
	/**
	 * Checks whether the root of the current element is included by
	 * report/library.
	 * 
	 * @return <code>true</code> if the root of the current element is
	 *         included by report/library. Otherwise <code>false</code>.
	 */
	private boolean isRootIncludedByModule( )
	{
		DesignElement tmpContainer = getRoot( );
		if ( tmpContainer instanceof Library
				&& ( (Library) tmpContainer ).getHost( ) != null )
		{
			return true;
		}
		return false;
	}
	/**
	 * Determines if the current element can contain an element with the
	 * definition of <code>elementType</code> on context containment.