Bug 120036 Preview of XML attributes is not working
The XML attribute values are not working in the current BIRT XML ODA driver. Only 'text'-type XML elements' values are displayable in Preview. ColumnMapping XPath expressions like "@attributeName" are broken in Preview. I'll attach document showing the problem and sample XML/XSD data
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/RelationInformation.java
}
		else
		{
			isAbsolutePath = true;
			theLongestPath = theLongestPath.replaceFirst( "\\Q/\\E", "" );
		}
		String[] temp = theLongestPath.split( "\\Q/\\E" );
		String prefix = isAbsolutePath ? "/" : "";
		for ( int j = 0; j < temp.length; j++ )
		{
			String attempedPrefix = j == 0 ? prefix + temp[j] : prefix + "/" + temp[j];
			for ( int i = 0; i < paths.length; i++ )
			{
				if ( !paths[i].startsWith( attempedPrefix ) )
					return prefix;
			}
			prefix = attempedPrefix;
		}
		
		return prefix;
	}
}
/**
 * The instance of this class describe a single column.
 *
 */
class ColumnInfo
{
	private int index;
	private String name;