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/RelationInformation.java
/**
	 * If the path is refer to an attribute, use syntax /elementName/@attributeName
	 * then we change it to /elementName[@attributeName] to compliment the standard xpath syntax.
	 * 
	 */ 
	private String fixTrailingAttr( String path )
	{
		if ( path.matches(".*/@.*"))
			return path.replaceFirst("/@","[@")+"]";
		else
			return path;
	}
	
	/**
	 * Dealing with ".." in a column path. Here the column path is the combination of root path
	 * and the give column path expression.
	 * 
	 * @param path
	 * @return
	 */
	private String buildPath( String path )
	{
		String prefix = "";
		
		
		if ( path.startsWith( UtilConstants.XPATH_DOUBLE_SLASH ) )
		{
			path = path.replaceFirst( UtilConstants.XPATH_DOUBLE_SLASH, "" );
			prefix = UtilConstants.XPATH_DOUBLE_SLASH;
		}