Bug 148525 Display text is not found from library resource file
Steps to reproduce: 1.New a library, add a resource file "a.properties" 2.Add a label with text"abc", add a localization "k1=actuate" 3.New a report, extend the label 4.Preview the report Expected result: Report shows "actuate" in preview Actual result: Report shows "actuate" in layout, but "abc" in preview
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleUtil.java
throws DesignFileException
	{
		
		
		ImageItem image = new ImageItem( );
		ActionParserHandler handler = new ActionParserHandler( image );
		if ( streamData == null )
		{
			Action action = StructureFactory.createAction( );
			image.setProperty( ImageHandle.ACTION_PROP, action );
			return ( (ImageHandle) image.getHandle( handler.getModule( ) ) )
					.getActionHandle( );
		}
		if ( !streamData.markSupported( ) )
			streamData = new BufferedInputStream( streamData );
		assert streamData.markSupported( );
		parse( handler, streamData );
		ImageHandle imageHandle = (ImageHandle) image.getHandle( handler
				.getModule( ) );
		return imageHandle.getActionHandle( );
	}
	/**
	 * Auxiliary method to help parse the input stream.
	 * 
	 * @param handler
	 *            the parse handler
	 * @param streamData
	 *            the input stream
	 * @throws DesignFileException
	 *             any exception if error happens