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/Module.java
}
	/**
	 * Returns included libaries within the given depth.
	 * 
	 * @param level
	 *            the given depth
	 * @return list of libraries.
	 * 
	 * @see IModuleNameSpace
	 */
	public List getLibraries( int level )
	{
		if ( level <= IModuleNameSpace.NATIVE_LEVEL || libraries == null )
			return Collections.EMPTY_LIST;
		int newLevel = level - 1;
		
		if ( newLevel == IModuleNameSpace.NATIVE_LEVEL )
			return Collections.unmodifiableList( libraries );
		List allLibraries = new ArrayList( libraries );
		Iterator iter = new ArrayList( allLibraries ).iterator( );
		while ( iter.hasNext( ) )
		{
			Library library = (Library) iter.next( );
			allLibraries.addAll( library.getLibraries( newLevel ) );
		}
		return allLibraries;
	}
	/**
	 * Returns only libraries this module includes directly.
	 *