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
}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.elements.ElementVisitor#visitDesignElement(org.eclipse.birt.report.model.core.DesignElement)
	 */
	public void visitReportDesign( ReportDesign obj )
	{
		sourceDesign = obj;
		targetDesign = localizeDesign( obj );
		visitSlots( obj, targetDesign, IReportDesignModel.SLOT_COUNT );
		localizeExternalSelectors( );
		addExternalElements( );
		addExternalStructures( );
		
		localizeDimensionConditions( );
		
		release( );
		
		targetDesign.getVersionManager( ).setVersion(
				sourceDesign.getVersionManager( ).getVersion( ) );
	}
	/**
	 * Releases some memory instantly.
	 */
	private void release( )
	{
		elements = null;
		externalElements = null;
		externalStructs = null;