Bug 172476 <VALUE-OF format=html> doesn't check the format="html" if there is no quotes
Description: <VALUE-OF format html> doesn't check the format="html" if there is no quotes Build number: 2.2.0.v20070131-0700 Steps to reproduce: 1, New a text(html/dynamic)in layout 2, Input <VALUE-OF format=html>"aaa"</VALUE-OF> 3, Preview the results Expected result: invalid html format message pops up Actual result: aaatm Error log:
core/org.eclipse.birt.core/src/org/eclipse/birt/core/template/TemplateParser.java
{
	public TextTemplate parse( String text )
	{
		if ( text == null || text.trim( ).equals( "" ) )
		{
			return null;
		}
		try
		{
			ASTTemplate templateNode = new Parser( ).parse( new StringReader(
					text ) );
			TextTemplate template = new TextTemplate( );
			new ASTVisitor( template ).visit( templateNode, null );
			return template;
		}
		catch ( Exception ex )
		{
			ex.printStackTrace( );
		}
		return null;
	}
	protected class ASTVisitor implements ParserVisitor