Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java
if ( valueValidator != null )
			MetaDataDictionary.getInstance( )
					.getValueValidator( valueValidator ).validate( module,
							this, retValue );
		return retValue;
	}
	/**
	 * Validates an XML value to be stored for this value definition. This
	 * method checks names of predefined choice properties first. Then uses type
	 * to validate value. If the property definition has a validator, uses this
	 * validator to validate the value.
	 * 
	 * @param module
	 *            the report design
	 * @param value
	 *            the candidate value
	 * @return the translated value to be stored
	 * @throws PropertyValueException
	 *             if the value is not valid
	 */
	public Object validateXml( Module module, String value )
			throws PropertyValueException
	{
		Object retValue = null;
		
		if ( hasChoices( ) && getTypeCode( ) != IPropertyType.CHOICE_TYPE )
		{
			retValue = validateExtendedChoicesByName( value );
			if ( retValue != null )
				return retValue;