Bug 191410 [Regression] Can not new a report from predefined dual column chart & listing template [00]
Description: Can not new a report from predefined dual column chart & listing template. Build number: 2.2.0.v20070607-0630 Steps to reproduce: 1. New a report from predefined dual column chart & listing template. Expected result: The report can be created. Actual result: XML Source page shows up after click finish. Error log: N/A
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TemplateElementParserTest.java
templateLabel.setName( "new templateLabel" ); 
		templateLabel.setProperty(
				TemplateReportItem.REF_TEMPLATE_PARAMETER_PROP,
				"new templateLabelParam" ); 
		save(); 
		assertTrue( compareFile( "TemplateElementParserTest_golden.xml") ); 
	}
	/**
	 * Tests the design file parser exception if the template elements refer a
	 * wrong type template definition. Test the semantic errors.
	 * 
	 * @throws Exception
	 */
	public void testErrors( ) throws Exception
	{
		try
		{
			openDesign( errorFileName );
			fail( );
		}
		catch ( DesignFileException e )
		{
			assertEquals( DesignFileException.DESIGN_EXCEPTION_SYNTAX_ERROR, e
					.getErrorCode( ) );
			assertEquals( 2, e.getExceptionList( ).size( ) );
			assertTrue( e.getExceptionList( ).get( 0 ) instanceof XMLParserException );
			XMLParserException exception = (XMLParserException) e
					.getExceptionList( ).get( 0 );
			assertTrue( exception.getException( ) instanceof DesignParserException );
			DesignParserException cause = (DesignParserException) exception