Bug 180709 the toke '<' changed to '>' if string is printed in preview
the token '<' in a string wil be printed as '>' Reproduction make a textfield and in the 'value-of' tag the next function: <value-of> var d = 10 var e = 12 var result if (d < e ) { result = "the variable d with a value of " + d + " < " + "the variable e with a value of " + e } result </value-of> gives the next result in the preview the variable d with a value of 10 > the variable e with a value of 12 3-apr-2007 15:19 the token '<' has changed to '>'
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/template/TemplateExecutor.java
package org.eclipse.birt.report.engine.executor.template;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.eclipse.birt.core.format.DateFormatter;
import org.eclipse.birt.core.format.NumberFormatter;
import org.eclipse.birt.core.format.StringFormatter;
import org.eclipse.birt.core.template.TextTemplate;
import org.eclipse.birt.report.engine.api.EngineConfig;
import org.eclipse.birt.report.engine.api.IReportEngine;
import org.eclipse.birt.report.engine.executor.ExecutionContext;
import org.eclipse.birt.report.engine.util.FileUtil;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.elements.structures.EmbeddedImage;
public class TemplateExecutor implements TextTemplate.Visitor
{
	protected StringBuffer buffer;
	protected HashMap values;
	protected ExecutionContext context;
	protected File imageFolder;
	protected HashMap imageCaches = new HashMap( );
	public TemplateExecutor( ExecutionContext context )
	{