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
else if ( data instanceof TextTemplate.TextNode )
			{
				StringBuffer attribute = new StringBuffer( );
				attribute.append( " " + node.getName( ) + ":" + node.getValue( )
						+ " " );
				return attribute.toString( );
			}
			return data;
		}
		public Object visit( ASTValueOf node, Object data )
		{
			TextTemplate.ValueNode value = new TextTemplate.ValueNode( );
			node.childrenAccept( this, value );
			template.nodes.add( value );
			return data;
		}
		public Object visit( ASTImage node, Object data )
		{
			TextTemplate.ImageNode image = new TextTemplate.ImageNode( );
			node.childrenAccept( this, image );
			template.nodes.add( image );
			return data;
		}
		public Object visit( ASTText node, Object data )
		{
			TextTemplate.TextNode text = new TextTemplate.TextNode( );
			text.content = node.getContent( );
			template.nodes.add( text );
			return data;
		}