Bug 124193 Parent axis doesn't work for recursive XPath
When table mapping for XML files is specified via recursive XPath: e.g. "//book", the parent axis access is broken for column mappings on such table: e.g. "../bookstore/@name" will not work. Same parent axis access works fine if non-recursive XPath is used for table mapping: e.g. "/bookstore/book".
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/XPathPopulationUtil.java
}
			start = i;
		}
		if( endingIndex == 0 && startingIndex!= 0)
		{
			endingIndex = start;
		}
		return endingIndex;
	}
	/**
	 * @param columnPath
	 * @param rootPathFrags
	 * @param startingIndex
	 * @param endingIndex
	 * @return
	 */
	private static String populateXpathExpression( String columnPath, String[] rootPathFrags, int startingIndex, int endingIndex )
	{
		String result = "";
		
		int fetchBackLevel = rootPathFrags.length - 3 - (endingIndex - startingIndex);
		for( int i = 0; i < fetchBackLevel; i ++)
		{
			result += "../";
		}
		
		return addXPathFragsToAString( columnPath.replaceAll(XPATH_ATTR_HEADER_WITH_SQUARE_PATTERN,XPATH_ATTR_HEADER_WITH_SLASH).split(UtilConstants.XPATH_SLASH), endingIndex+1, result);
	}
}