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 Object visit( ASTTemplate node, Object data )
		{
			return node.childrenAccept( this, data );
		}
		public Object visit( ASTEbody_content node, Object data )
		{
			if ( data instanceof TextTemplate.ImageNode )
			{
				TextTemplate.ImageNode image = (TextTemplate.ImageNode) data;
				String expr = getText( node );
				if ( expr != null && expr.length( ) > 0 )
				{
					image.setExpr( expr );
				}
			}
			else if ( data instanceof TextTemplate.ValueNode )
			{
				TextTemplate.ValueNode value = (TextTemplate.ValueNode) data;
				value.value = getText( node );
			}
			else
			{
				return getText( node );
			}
			return data;
		}
		protected String getText( ASTEbody_content node )
		{
			if ( node == null || node.children == null )
			{