Bug 123726 "Top n", "Bottom n" in highlight dialog doesn't work.
Description: "Top n", "Bottom n" in highlight dialog doesn't work. Steps to reproduce: 1. Add a highlight for a table. 2. Set highlight rule: "account_id", "top n", "3", let its font color red. 3. Preview the report, it doesn't work. Attached is design file.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
{
				try
				{
					obArray[0] = DataTypeUtil.toBoolean( obj );
					expr4Exception = op1.exprText;
					obArray[1] = DataTypeUtil.toBoolean( obArray[1] );
				}
				catch ( BirtException e )
				{ 
					throw new DataException( ResourceConstants.CONVERT_TO_DATATYPE_ERROR,
							new Object[]{
									expr4Exception, Boolean.class
							} );
				}
			}
			
			return obArray;
		}
		
		/**
		 * @param ise
		 * @return
		 */
		private static IScriptExpression constructValidScriptExpression ( IScriptExpression ise)
		{
		    return ise!=null && ise.getText().trim().length() > 0 ? ise : new ScriptExpression("null");
		}		
	}
}