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 ( isValueRequired( ) )
		{
			SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn(
					ValueRequiredValidator.NAME );
			triggerDefn.setPropertyName( getName( ) );
			triggerDefn.setValidator( ValueRequiredValidator.getInstance( ) );
			getTriggerDefnSet( ).add( triggerDefn );
		}
		if ( getTypeCode( ) != IPropertyType.LIST_TYPE && subType != null )
		{
			
			throw new MetaDataException( new String[]{name},
					MetaDataException.DESIGN_EXCEPTION_SUB_TYPE_FORBIDDEN );
		}
		if ( getTypeCode( ) != IPropertyType.STRUCT_TYPE
				&& getTypeCode( ) != IPropertyType.ELEMENT_TYPE
				&& isList == true )
		{
			
			throw new MetaDataException( new String[]{getType( ).getName( )},
					MetaDataException.DESIGN_EXCEPTION_INVALID_LIST_TYPE );
		}
		
		
		if ( defaultValue != null )
		{
			try
			{
				validateXml( null, defaultValue.toString( ) );