how to resolve ExpatParser$parseException
<p>i get the following result from my dot net web service</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
- &lt;DataTable xmlns="http://www.mkttech.in/"&gt;
- &lt;xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"&gt;
- &lt;xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="RecordSet" msdata:UseCurrentLocale="true"&gt;
- &lt;xs:complexType&gt;
- &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
- &lt;xs:element name="RecordSet"&gt;
- &lt;xs:complexType&gt;
- &lt;xs:sequence&gt;
- &lt;xs:element name="USERNAME" minOccurs="0"&gt;
- &lt;xs:simpleType&gt;
- &lt;xs:restriction base="xs:string"&gt;
  &lt;xs:maxLength value="51" /&gt; 
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
  &lt;xs:element name="PWD_EXPIRY" type="xs:int" minOccurs="0" /&gt; 
  &lt;xs:element name="FLDPWDMINLENGTH" type="xs:short" minOccurs="0" /&gt; 
  &lt;xs:element name="FLDPWDMAXLENGTH" type="xs:short" minOccurs="0" /&gt; 
  &lt;xs:element name="FLDMAXATTEMPT" type="xs:short" minOccurs="0" /&gt; 
- &lt;xs:element name="LOG_REASON" minOccurs="0"&gt;
- &lt;xs:simpleType&gt;
- &lt;xs:restriction base="xs:string"&gt;
  &lt;xs:maxLength value="200" /&gt; 
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
- &lt;xs:element name="EXCH_SEG" msdata:ReadOnly="true" minOccurs="0"&gt;
- &lt;xs:simpleType&gt;
- &lt;xs:restriction base="xs:string"&gt;
  &lt;xs:maxLength value="51" /&gt; 
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
- &lt;xs:element name="SEGMENTDESC" minOccurs="0"&gt;
- &lt;xs:simpleType&gt;
- &lt;xs:restriction base="xs:string"&gt;
  &lt;xs:maxLength value="100" /&gt; 
  &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  &lt;/xs:element&gt;
- &lt;diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"&gt;
- &lt;DocumentElement xmlns=""&gt;
- &lt;RecordSet diffgr:id="RecordSet1" msdata:rowOrder="0"&gt;
  &lt;USERNAME /&gt; 
  &lt;PWD_EXPIRY&gt;0&lt;/PWD_EXPIRY&gt; 
  &lt;FLDPWDMINLENGTH&gt;2&lt;/FLDPWDMINLENGTH&gt; 
  &lt;FLDPWDMAXLENGTH&gt;8&lt;/FLDPWDMAXLENGTH&gt; 
  &lt;FLDMAXATTEMPT&gt;100&lt;/FLDMAXATTEMPT&gt; 
  &lt;LOG_REASON&gt;INVALID PASSWORD...&lt;/LOG_REASON&gt; 
  &lt;EXCH_SEG&gt;NSE-CAPITAL&lt;/EXCH_SEG&gt; 
  &lt;SEGMENTDESC&gt;NSE Capital Market&lt;/SEGMENTDESC&gt; 
  &lt;/RecordSet&gt;
  &lt;/DocumentElement&gt;
  &lt;/diffgr:diffgram&gt;
  &lt;/DataTable&gt;
</code></pre>

<p>i am using SoapObject to recieve this response.
next i was parsing this using the xmlpullparser. 
i followed the following  <a href="http://developer.android.com/training/basics/network-ops/xml.html" rel="nofollow">Tutorial</a></p>

<p>but i am getting following exception when nextTag() is executed</p>

<p>org.xmlpull.v1.XmlPullParserException: Error parsing document. (position:line -1, column -1) caused by: org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 7: not well-formed (invalid token)</p>

<p>i am new to both android and java. i really need help.
thanks in advance!</p>
