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.tests/test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java
}
	/**
	 * For content elements, they should be serialized.
	 * 
	 * @throws Exception
	 */
	public void testFilterElement( ) throws Exception
	{
		openDesign( DESIGN_WITH_FILTER_ELEMENT );
		serializeDocument( );
		assertTrue( compareFile( "DocumentUtilTest_filter_element_golden.xml" ) ); 
	}
	/**
	 * For css styles, they must be visited and saved in the serialized design.
	 * 
	 * @throws Exception
	 */
	public void testLocalCssStyles( ) throws Exception
	{
		openDesign( DESIGN_WITH_CSS_STYLES );
		serializeDocument( );
		List sheets = designHandle.getAllCssStyleSheets( );
		assertEquals( 1, sheets.size( ) );
		CssStyleSheetHandle sheet = (CssStyleSheetHandle) sheets.get( 0 );
		Iterator styles = sheet.getStyleIterator( );
		int count = 0;
		while ( styles.hasNext( ) )
		{
			styles.next( );
			count++;