Bug 213680 [2.2.2]Chart script can not be cleaned completely.
Description: Reset script or delete all script does not work. build version: v20071221-0630 steps to reproduce: 1. New a report. 2. New a chart. 3. Enter some script for the chart and save the report. 4. Click the reset scirpt button or delete all script. 5. Save the report and switch to layout,then switch back to script page. Expected result: Script are cleaned. Actual result: Script are not cleaned. Note: If you delete part of the script, it works.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java
{
		if ( reportItem != null )
		{
			IPropertyDefinition[] extProps = reportItem
					.getPropertyDefinitions( );
			if ( extProps != null )
			{
				for ( int i = 0; i < extProps.length; i++ )
				{
					IPropertyDefinition extProp = extProps[i];
					assert extProp != null;
					if ( propName.equals( extProp.getName( ) ) )
						return true;
				}
			}
		}
		return false;
	}
	/**
	 * Tests whether the property is the extension property which holds the
	 * serialized XML value for extension model properties. The property type
	 * should be XML.
	 * 
	 * @param propName
	 *            name of the property to check
	 * @return true if the property is XML type and holds the serialized XML
	 *         value for extension model properties, otherwise false
	 */
	public boolean isExtensionXMLProperty( String propName )
	{