Bug 147542 XML data set designer shows no available columns with attached files
Create an XML data source using BOTH the attached XML file and XSD schema file. Then create a data set using /ITEMS/ITEMSROW as row mapping. In the next dialog to define column mapping, no available column is shown under ITEMSROW. If only the XML file (but not the XSD schema file) is specified the data source, all available columns are shown. INTERNAL REF: SCR84784
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
{
	/**
	 * @param fileName
	 * @throws MalformedURLException 
	 * @throws URISyntaxException 
	 */
	public static ATreeNode getSchemaTree( String fileName, boolean includeAttribute, int numberOfElementsAccessiable )
			throws OdaException, MalformedURLException, URISyntaxException
	{
		if ( fileName.toUpperCase( ).endsWith( ".XSD" ) )
			return XSDFileSchemaTreePopulator.getSchemaTree( fileName,includeAttribute );
		else
			return new XMLFileSchemaTreePopulator( numberOfElementsAccessiable ).getSchemaTree( fileName,includeAttribute );
	}
}
/**
 * This class is used to populate an XML schema tree from an xml file.
 * 
 */
final class XMLFileSchemaTreePopulator implements ISaxParserConsumer