title: Can XmlPullParser be configured to NOT ignore whitespace?
body: <p>I'm using XmlPullParser to parse some custom XML.  I open the XML file like this...</p>
  
  <pre><code>XmlPullParser xpp = activity.getResources().getXml(R.xml.myXML);
  </code></pre>
  
  <p>And later I read the following XML node</p>
  
  <pre><code>&lt;L&gt;  ####&lt;/L&gt;
  </code></pre>
  
  <p>using the code</p>
  
  <pre><code>String str = "";
  if( xpp.next() == XmlPullParser.TEXT )
      str = xpp.getText();
  return str;
  </code></pre>
  
  <p>Instead of returning</p>
  
  <pre><code>'  ####'
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>' ####'
  </code></pre>
  
  <p>(single quotes added by me for clarity.) NOTE The missing leading space.</p>
  
  <p>It appears getText is stripping the leading space?  When the XML doesn't contain a leading space, my code works as expected.</p>
  
  <p>I can't find any property of XMLPullParser that allows me to tell it to keep all whitespace.  Nor can I change the XML to add double quotes around the text with leading whitespace.</p>