title: XmlPullParser name expected exception
body: <p>I try to read a XML file created by my app using this code:</p>
  
  <pre><code>XmlPullParser xpp = factory.newPullParser();
  xpp.setInput(new StringReader(data));
  int eventType = xpp.getEventType();
  
  while(eventType != XmlPullParser.END_DOCUMENT)
  {
      switch(eventType)
      {
          case XmlPullParser.START_TAG:
          {
              String tagName = xpp.getName();
              // do something
              break;
          }
          case XmlPullParser.TEXT:
          {
              // get text...
              break;
          }
          case XmlPullParser.END_TAG:
          {
              // do something
              break;
          }
      }
  
      eventType = xpp.next();
  }
  </code></pre>
  
  <p>but at first, when <strong>eventType</strong> is START_DOCUMENT, <strong>next()</strong> function throws exception: <em>org.xmlpull.v1.XmlPullParserException: name expected (position:START_TAG @2:2 in java.io.StringReader@41084cc8)</em></p>
  
  <p>Do you have any idea why?</p>
  
  <p>Here is my XML file:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' standalone='yes' ?&gt;
  &lt;0&gt;
    &lt;createTime&gt;1419453655800&lt;/createTime&gt;
    &lt;editTime&gt;1419453655800&lt;/editTime&gt;
    &lt;color&gt;2&lt;/color&gt;
    &lt;text&gt;ooooo&lt;/text&gt;
  &lt;/0&gt;
  &lt;1&gt;
    &lt;createTime&gt;1419453586197&lt;/createTime&gt;
    &lt;editTime&gt;1419453605679&lt;/editTime&gt;
    &lt;color&gt;1&lt;/color&gt;
    &lt;text&gt;uuuuuuuuu&lt;/text&gt;
  &lt;/1&gt;
  &lt;2&gt;
    &lt;createTime&gt;1419453358866&lt;/createTime&gt;
    &lt;editTime&gt;1419453597124&lt;/editTime&gt;
    &lt;color&gt;2&lt;/color&gt;
    &lt;text&gt;yyyyyyyyyy&lt;/text&gt;
  &lt;/2&gt;
  </code></pre>