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
{
	private static final String XPATH_WILDCARD = "*";
	private static final String XPATH_ATTR_HEADER_WITH_SLASH = "/@";
	private static final String XPATH_ATTR_HEADER_WITH_SQUARE_PATTERN = "\\Q[@\\E";
	
	/**
	 * This method is used to populate the possible root path expressions List
	 * @param absolutePath must be the absolute path of root path 
	 * @return
	 */
	public static List populateRootPath( String absolutePath )
	{
		assert absolutePath != null;
		
		List result = new ArrayList();
		result.add( absolutePath );
		if( absolutePath.startsWith(UtilConstants.XPATH_SLASH) )
			absolutePath = absolutePath.replaceFirst(UtilConstants.XPATH_SLASH,"");
		String[] xPathFrags = absolutePath.split(UtilConstants.XPATH_SLASH);