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
return null;
			}
			Object obj;
			StringBuffer text = new StringBuffer( );
			for ( int n = 0; n < node.children.length; n++ )
			{
				obj = node.children[n];
				if ( obj instanceof ASTText )
				{
					text.append( ( (ASTText) obj ).getContent( ) );
				}
			}
			return text.toString( );
		}
		private String getAttributeValue( String value )
		{
			if ( value != null )
			{
				int length = value.length( );
				if ( length > 2 )
				{
					
					value = value.substring( 1, length - 1 );
				}
			}
			return value;
		}
	}
}