Bug 361443 Excel ODA
data/org.eclipse.birt.report.data.oda.excel/src/org/eclipse/birt/report/data/oda/excel/impl/ExcelFileQuery.java
String[] result = new String[array.length];
		for (int i = 0; i < result.length; i++)
			result[i] = array[i].trim();
		return result;
	}
	/**
	 * Check whether a column name given in query has exactly one occurance in
	 * actual table
	 *
	 * @param cCN
	 *            the array of column names in query
	 * @param aCN
	 *            the array of column names in actual table
	 * @throws OdaException
	 */
	private void validateColumnName(String[] cCN, String[] aCN)
			throws OdaException {
		for (int i = 0; i < cCN.length; i++) {
			if (this.findOccuranceOfValueInStringArray(cCN[i], aCN) != 1) {
				this.isInvalidQuery = true;
				throw new OdaException(
						Messages.getString("query_COMMAND_NOT_VALID")); 
			}
		}
	}
	/*
	 * @see
	 * org.eclipse.datatools.connectivity.oda.IQuery#setAppContext(java.lang
	 * .Object)
	 */