URL url = null;
	public void run( )	{		XMLReader xr;		try		{			// xr = XMLReaderFactory.createXMLReader(			// "org.apache.xerces.parsers.SAXParser" );					xr = new SAXParser( );			xr.setContentHandler( this );			xr.setErrorHandler( this );			URL url = null;			Reader file = null;			//First try to parse the input string as file name.			try 			{				File f = new File(xmlFile);				url = f.toURL();				file = new InputStreamReader( url.openStream() );			}			catch ( IOException e )			{				url = null;			} 						//Then try to parse the input string as a url in web.			if ( url == null )			{				url = new URL( xmlFile );			}					InputStream is = getInputStream( url );			file = new InputStreamReader( is );							xr.parse( new InputSource( file ) );						}		catch ( Exception e )		{			throw new RuntimeException(e.getLocalizedMessage());		}		finally		{			this.alive = false;			spConsumer.wakeup( );		}	}