Bug 213973 [2.2.2]ClassCastException throws out when preview a table share crosstab
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
*/
		public Object visitDynamicTextItem( DynamicTextItemDesign dynamicText,
				Object value )
		{
			BaseQueryDefinition query;
			if ( dynamicText.useCachedResult( ) )
			{
				query = getRefenceQuery( dynamicText );
				if ( query == null )
				{
					registerUnresolvedQueryReference( dynamicText );
					return null;
				}
			}
			else
			{
				query = createQuery( dynamicText, value );
			}
			try
			{
				String newContent = transformExpression( dynamicText
						.getContent( ), query, null );
				dynamicText.setContent( newContent );
				transformExpressions( dynamicText, query );
				return getResultQuery( query, value );
			}
			catch ( BirtException ex )
			{
				context.addException( dynamicText.getHandle( ), ex );
				return null;