Bug 199537 Fail to display data in Web viewer[0002]
Description: Fail to display data in Web viewer Build number:2.2.1.v200708101407 Steps to reproduce: 1. Preview attached report in Web Viewer. Expected result: Display data. Actual result: No data. Error log:n/a
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
* @param source
	 *            the source element
	 * @param notEmptyProperties
	 */
	private void localizeSelfStyleProperties( StyledElement target,
			StyledElement source, Set notEmptyProperties )
	{
		StyledElement tmpElement = source;
		while ( tmpElement != null )
		{
			Module root = tmpElement.getRoot( );
			localizePrivateStyleProperties( target, tmpElement, root,
					notEmptyProperties );
			Style style = (Style) tmpElement.getStyle( );
			
			
			if ( style != null )
			{
				Module styleRoot = style.getRoot( );
				if ( styleRoot != sourceDesign )
				{
					localizePrivateStyleProperties( target, style, styleRoot,
							notEmptyProperties );
				}
				else
				{
					target.setStyleName( tmpElement.getStyleName( ) );
				}
			}
			if ( tmpElement.isVirtualElement( ) )