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
assertNotNull( templateDataSetParam );
		
		NameSpace ns = design
				.getNameHelper( ).getNameSpace( ReportDesign.TEMPLATE_PARAMETER_NAME_SPACE );
		assertEquals( templateLabelParam.getElement( ), ns
				.getElement( "templateLabelParam" ) ); 
		assertEquals( templateDataSetParam.getElement( ), ns
				.getElement( "templateDataSetParam" ) ); 
		
		assertEquals( "templateLabelParam", templateLabelParam.getName( ) );
		assertEquals( DesignChoiceConstants.TEMPLATE_ELEMENT_TYPE_LABEL,
				templateLabelParam.getAllowedType( ) );
		assertEquals( "click here to create label", templateLabelParam 
				.getDescription( ) );
		assertEquals( "description key", templateLabelParam.getDescriptionKey( ) ); 
		LabelHandle defaultLabel = (LabelHandle) templateLabelParam
				.getDefaultElement( );
		assertNotNull( defaultLabel );
		assertEquals( "base", defaultLabel.getName( ) ); 
		assertEquals( "6mm", defaultLabel.getX( ).getStringValue( ) );
		assertEquals( "0.5mm", defaultLabel.getY( ).getStringValue( ) );
		assertEquals( "0.25mm", defaultLabel.getHeight( ).getStringValue( ) );
		assertEquals( "1mm", defaultLabel.getWidth( ).getStringValue( ) );
		assertEquals( "templateDataSetParam", templateDataSetParam.getName( ) );
		assertEquals( DesignChoiceConstants.TEMPLATE_ELEMENT_TYPE_DATA_SET,
				templateDataSetParam.getAllowedType( ) );
		assertEquals( "click here to create data set", templateDataSetParam 
				.getDescription( ) );
		assertEquals( "description key", templateDataSetParam 
				.getDescriptionKey( ) );