Bug 177504 Engine doesn't provide SubQuery for extended item
Engine doesn't provide SubQuery for extended item, so chart can't use container's binding to execute the query. If possible, engine could provide an option for extended item to choose whether engine could create the query, so extended item won't create SubQuery by itself.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
templateRef = new SoftReference( template );
			templates.put( text, templateRef );
		}
		catch ( Exception ex )
		{
			ex.printStackTrace( );
		}
		return template;
	}
	String executeTemplate( TextTemplate template, HashMap values )
	{
		return new TemplateExecutor( context ).execute( template, values );
	}
	public Object visitList( IListContent list, Object value)
	{
		if ( list.getGenerateBy( ) instanceof ListItemDesign )
		{
			handleOnRender( list );
		}
		return list;
	}
	public Object visitTable( ITableContent table, Object value )
	{
		handleOnRender( table );
		
		String captionText = table.getCaption( );
		String captionKey = table.getCaptionKey( );
		captionText = localize( table, captionKey, captionText );
		table.setCaption( captionText );