Bug 148116 Use Data Type information in XSD file when creating XML data set
When you specify a XML Schema (XSD) file for a XML data source, then create a XML data set based on that data source, the data type information from the XSD is not used. I.e., if the user selects an element or attribute the data type of the node is not read from the XSD file. We should enhance the XML driver so that it automatically fill in the data type information from XSD.
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/impl/DataTypes.java
{
	
	public static final int INT = Types.INTEGER;
	public static final int DOUBLE = Types.DOUBLE;
	public static final int STRING = Types.VARCHAR;
	public static final int DATE = Types.DATE;
	public static final int TIME = Types.TIME;
	public static final int TIMESTAMP = Types.TIMESTAMP;
	public static final int BLOB = Types.BLOB;
	public static final int BIGDECIMAL = Types.NUMERIC;
	
	private static HashMap typeStringIntPair = new HashMap( );
	
	private static HashMap typeIntStringPair = new HashMap( );
	
	static
	{
		typeStringIntPair.put( "Int", new Integer( INT ) ); 
		typeStringIntPair.put( "Double", new Integer( DOUBLE ) ); 
		typeStringIntPair.put( "String", new Integer( STRING ) ); 
		typeStringIntPair.put( "Date", new Integer( DATE ) ); 
		typeStringIntPair.put( "Time", new Integer( TIME ) );