Bug 128166 the xml data can be displayed incorrectly
Description: the xml data can be displayed incorrectly Steps to reproduce: 1. import the attached report design file. 2. set a table mapping as '//Book' 3. add a column mapping '../@location' 4. save and preview. Actual result: the 'Sunderland' is displayed Expect result: the 'Paris' is displayed
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/RelationInformation.java
*/
	private void generateBackRefNumber( String rootPath, String originalPath )
	{
		if ( this.originalPath.matches( ".*\\Q..\\E.*" ) )
		{
			String[] originalPathFrags = originalPath.split( UtilConstants.XPATH_SLASH );
			int lastTwoDotAbbrevationPosition = 0;
			int numberOfConcretePathFragsBefore2DotAbb = 0;
			for ( int i = 0; i < originalPathFrags.length; i++ )
			{
				if ( originalPathFrags[i].equals( ".." ) )
					lastTwoDotAbbrevationPosition = i;
			}
			for ( int i = 0; i < lastTwoDotAbbrevationPosition; i++ )
			{
				if ( !originalPathFrags[i].equals( ".." ) )
					numberOfConcretePathFragsBefore2DotAbb++;
			}
			int numberOf2DotAbb = lastTwoDotAbbrevationPosition
					- numberOfConcretePathFragsBefore2DotAbb + 1;
			backRefNumber = numberOf2DotAbb
					- numberOfConcretePathFragsBefore2DotAbb;
			if ( backRefNumber < 0 )
			{
				backRefNumber = 0;
				return;
			}