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
private Locale locale;
	private String outputFormat;
	protected HashMap templates = new HashMap( );
	private OnRenderScriptVisitor onRenderVisitor;
	
	public LocalizedContentVisitor( ExecutionContext context )
	{
		this.context = context;
		this.locale = context.getLocale( );
		this.outputFormat = context.getOutputFormat( );
		this.onRenderVisitor = new OnRenderScriptVisitor( context );
	}
	
	IReportContent getReportContent( )
	{
		return context.getReportContent( );
	}
	ReportDesignHandle getReportDesign( )
	{
		return context.getDesign( );
	}
	
	
	public IContent localize(IContent content)
	{
		Object value = content.accept( this, content );
		return (IContent) value;
	}
	
	protected IContent localizeAllChildren( IContent content )