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
}
	/**
	 * Gets the result style sheet with given file name of an external CSS2
	 * resource.
	 * 
	 * @param is
	 *            the input stream of the 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( InputStream is )
			throws StyleSheetException
	{
		StyleSheetLoader loader = new StyleSheetLoader( );
		return loader.load( module, is ).handle( module );
	}
	/**
	 * Imports the selected styles in a <code>CssStyleSheetHandle</code> to
	 * the module. Each in the list is instance of
	 * <code>SharedStyleHandle</code> .If any style selected has a duplicate
	 * name with that of one style already existing in the report design, this
	 * method will rename it and then add it to the design.
	 * 
	 * @param stylesheet
	 *            the style sheet handle that contains all the selected styles
	 * @param selectedStyles
	 *            the selected style list