Bug 142893 Text key not found when library and report use different resource files
The following scenario was tested with BIRT 2.1RC2: - New library, assign resource file "r1.properties" which contains key/value-pair "k1=v1" - New label in library, set text key of label to "k1" - New report, assign resource file "r2.properties" which does not contain key/value-pair "k1=v1" - Drag and drop label from library to report body - Preview Expected result: - Report shows "v1" Actual result: - Report shows nothing. If key/value-pair "k1=v1" is added to r2.properties, than "v1" is shown.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java
*            <ul>
	 *            <li><code>IResourceLocator.IMAGE</code>
	 *            <li><code>IResourceLocator.LIBRARY</code>
	 *            </ul>
	 *            Any invalid value will be treated as
	 *            <code>IResourceLocator.IMAGE</code>.
	 * @return the <code>URL</code> object if the file with
	 *         <code>fileName</code> is found, or null otherwise.
	 */
	public URL findResource( String fileName, int fileType )
	{
		return module.findResource( fileName, fileType );
	}
	/**
	 * Gets the result style sheet with given file name of an external CSS2
	 * resource.
	 * 
	 * @param fileName
	 *            the file name of the external CSS resource
	 * @return the <code>CssStyleSheetHandle</code> if the external resource
	 *         is successfully loaded
	 * @throws StyleSheetException
	 *             thrown if the resource is not found, or there are syntax
	 *             errors in the resource
	 */
	public CssStyleSheetHandle openCssStyleSheet( String fileName )
			throws StyleSheetException
	{
		StyleSheetLoader loader = new StyleSheetLoader( );
		return loader.load( module, fileName ).handle( module );