Bug 179737 The MeasureHandle should be able to provide data type info
We are now allow user input expression as measure expression. However this brings difficulties in determine the data type of a measure expression evaluation result. We need MeasureHandle to be enhanced to include the data type info. Please note that data type "any" is not accepted.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
if ( propDefn.isEncryptable( ) )
		{
			IEncryptionHelper helper = MetaDataDictionary.getInstance( )
					.getEncryptionHelper( );
			xml = helper.encrypt( xml );
		}
		if ( tag == null )
			tag = ModelUtil.getTagByPropertyType( propDefn );
		if ( propDefn.getTypeCode( ) == IPropertyType.SCRIPT_TYPE )
			cdata = true;
		if ( withoutName )
			writeEntry( tag, null, xml, cdata );
		else
			writeEntry( tag, memberName, xml, cdata );
	}
	/**
	 * Writes the resource key entry.
	 * 
	 * @param tagName
	 *            the tag name to write
	 * @param name
	 *            the property name of resource
	 * @param key
	 *            the resource key value
	 * @param xml
	 *            the resource value
	 * @param cdata
	 *            whether the resource value should be written as CDATA.
	 */
	protected void writeResouceKey( String tagName, String name, String key,