Bug 147230 [Engine test]Total format error
Details: [Engine test]Total format error Desciption: Please see the attached file
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ElementUtil.java
}
		public Object visitForeign( IForeignContent foreign, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			if ( IForeignContent.HTML_TYPE.equals( foreign.getRawType( ) )
					|| IForeignContent.TEXT_TYPE.equals( foreign.getRawType( ) )
					|| IForeignContent.TEMPLATE_TYPE.equals( foreign.getRawType( ) ) )
				return new TextItemInstance( foreign, context );
			return null;
		}
		public Object visitImage( IImageContent image, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new ImageInstance( image, context );
		}
		public Object visitLabel( ILabelContent label, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new LabelInstance( label, context );
		}
		public Object visitList( IListContent list, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new ListInstance(list, context);
		}
		public Object visitRow( IRowContent row, Object value )
		{
			ExecutionContext context = (ExecutionContext)value;
			return new RowInstance( row, context );
		}