title: Android: parseexception at Line 1 , column0 no element found?
body: <p>I have an issue like </p>
  
  <p>o</p>
  
  <pre><code>org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0: no element found
   org.apache.harmony.xml.ExpatParser.finish(ExpatParser.java:553) Displayed activity com.logictreeit.flight1/com.logictreeit.flight.app.MainTabActivity: 1689 ms (total 1689 ms)
   org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:483)
     org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:320)
      org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:293)
  </code></pre>
  
  <p>Some times  successfully parsing , but some times  it thrwoing above error. </p>
  
  <p>My code is</p>
  
  <pre><code>URL url = new URL(urlString);
          SAXParserFactory saxParserFactory= SAXParserFactory.newInstance();
          SAXParser saxParser = saxParserFactory.newSAXParser();
          XMLReader xmlReader = saxParser.getXMLReader();
          FlightGuideHandler flightGuideHandler = new FlightGuideHandler();
          xmlReader.setContentHandler(flightGuideHandler);
          inputStream = url.openStream();
          xmlReader.parse(new InputSource(urlString)); // am getting error at this line
  </code></pre>
  
  <p>Can any one help me to sort out this error .</p>
  
  <p>Thanking yoyu ,
  Srinivas</p>