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
String[] columnInfos = trimedColumn.substring( 1,
						trimedColumn.length( ) - 1 )
						.split( CONST_COLUMN_METAINFO_DELIMITER );
				
				
				
				
				String columnXpath = null;
				if( columnInfos.length == 3 )
				{
					columnXpath = columnInfos[2];
				}else
				{
					columnXpath = "";
				}
				for ( int m = 0; m < columnInfos.length; m++ )
					columnInfos[m] = columnInfos[m].trim( );
				
				
				if ( columnXpath.matches( ".*\\Q[@\\E.*\\Q=\\E.*" ) )
				{
					
					String value = columnXpath.replaceAll( ".*\\Q[@\\E.*\\Q=\\E",
							"" )
							.trim( );
					value = value.substring( 1, value.length( ) - 2 );