Bug 124839 Used deprecated function
The XML file ODA uses a deprecated function: public void close( ) { if( this.spThread != null ) this.spThread.stop(); } The function stop() of thread is deprecated.
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
findNodeWithValue( (ATreeNode) children[i], value, container );
		}
	}
	/**
	 * Return the root node of a schema tree.
	 * 
	 * @param fileName
	 * @return
	 * @throws OdaException
	 * @throws MalformedURLException 
	 * @throws URISyntaxException 
	 */
	public static ATreeNode getSchemaTree( String fileName, boolean incAttr )
			throws OdaException, MalformedURLException, URISyntaxException
	{
		includeAttribute = incAttr;
		DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance( );
		factory.setNamespaceAware( true );
		URI uri = null;
		File f = new File(fileName);
		uri = f.toURI(); 
		
		
		if ( uri == null )
		{
			uri = new URI( fileName );
		}
		
		XSLoader xsLoader = new XMLSchemaLoader( );
		XSModel xsModel = xsLoader.loadURI( uri.toString( ) );