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
/**
	 * This method is used to populate the possible column path expressions List
	 *  
	 * @param rootPath the root path of the table the column in, must be absolute path.
	 * @param columnPath the absolute column path.
	 * @return
	 */
	public static String populateColumnPath( String rootPath, String columnPath )
	{	
		assert rootPath != null;
		assert columnPath != null;
	
		if( columnPath.startsWith( rootPath ))
		{
			return columnPath.replaceFirst("\\Q"+rootPath+"\\E", "");
		}else
		{
			return getXPathExpression( rootPath, columnPath );
		}
	}
	/**
	 * @param rootPath
	 * @param columnPath
	 * @return
	 */
	private static String getXPathExpression( String rootPath, String columnPath )
	{
		String[] rootPathFrags = rootPath.replaceAll(UtilConstants.XPATH_ELEM_INDEX_PATTERN,"").split(UtilConstants.XPATH_SLASH);
		String[] columnPathFrags = columnPath.replaceAll(UtilConstants.XPATH_ELEM_INDEX_PATTERN,"").split(UtilConstants.XPATH_SLASH);