Bug 176436 Charts Imported from Libraries do not update when libraries change
During a live presentation of BIRT at EclipseCon, we came across a rather embarassing issue. When charts are included in a library, and imported into a report design from a library, any changes to the library instance of the chart do not reflect in the report itself.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
if ( struct == null )
			return;
		writer.conditionalStartElement( DesignSchemaConstants.STRUCTURE_TAG );
		writer.attribute( DesignSchemaConstants.NAME_ATTRIB, propName );
		IStructureDefn structDefn = prop.getStructDefn( );
		Iterator iter = structDefn.propertiesIterator( );
		while ( iter.hasNext( ) )
		{
			StructPropertyDefn strcutPropDefn = (StructPropertyDefn) iter
					.next( );
			
			
			writeMember( struct, strcutPropDefn );
		}
		writer.endElement( );
	}
	/**
	 * Write property or structure according to definition.
	 * 
	 * @param struct
	 *            parent structure.
	 * @param propDefn
	 *            property definition.
	 */
	private void writeMember( IStructure struct, PropertyDefn propDefn )
	{
		
		
		String propName = propDefn.getName( );
		switch ( propDefn.getTypeCode( ) )