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
IModuleNameSpace.ARBITARY_LEVEL );
	}
	/**
	 * Returns the module with the given namespace. This method checks the
	 * namespace in included libraries within the given depth.
	 * 
	 * @param namespace
	 *            the module namespace
	 * @param level
	 *            the depth of the library
	 * @return the module with the given namespace
	 * 
	 * @see IModuleNameSpace
	 */
	public Library getLibraryWithNamespace( String namespace, int level )
	{
		if ( libraries == null )
			return null;
		List list = getLibraries( level );
		Iterator iter = list.iterator( );
		while ( iter.hasNext( ) )
		{
			Library library = (Library) iter.next( );
			if ( library.getNamespace( ).equals( namespace ) )
				return library;
		}
		return null;
	}
	/**
	 * Returns whether this module is read-only.