XML or Parser miss behavior android
<p>in my application there are one web-services which fetch 172 approx record(currently). it is build in SOAP base services. and i have use sax parser through this method...</p>

<pre><code>DefaultHttpClient client = new DefaultHttpClient();
            HttpGet httpGet = new HttpGet(strURL.toURI());
            HttpParams httpParams = httpGet.getParams();
            int timeoutConnection = 30000;
            HttpConnectionParams.setConnectionTimeout(httpParams,
                    timeoutConnection);

            //For Bais Authentication
            //httpGet.setHeader("Authorization",getB64Auth(getString(R.string.username), getString(R.string.password)));
            //For Windows Authentication
            NTLM.setNTLM(client, getString(R.string.username), 
                    getString(R.string.password), getString(R.string.domain));


            httpGet.setParams(httpParams);
            HttpResponse response = client.execute(httpGet);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                Log.i("MyMapActivity", "--1--");
                instream = entity.getContent();
                Log.i("MyMapActivity", "--2--");
            }
            if(instream != null)
            {

                Log.i("MyMapActivity", "--3--");

                /********** test *******/
                SAXParserFactory saxPF = SAXParserFactory.newInstance();
                SAXParser saxP = saxPF.newSAXParser();
                XMLReader xmlR = saxP.getXMLReader();
                System.out.println("url &gt;&gt;&gt;&gt;&gt;" + URLPush);
                HandlerFromLatLongCustom myXMLHandler = new HandlerFromLatLongCustom();
                xmlR.setContentHandler(myXMLHandler);
                xmlR.parse(new InputSource(instream));
                instream.close();
</code></pre>

<p>i got success to get response and get array from array list but my problem is that 
assume there are 3 array </p>

<pre><code>array1[];
array2[];
array3[];
</code></pre>

<p>and 172 record. so it increase length of any array randomly.
like in first scenario ::: </p>

<pre><code>array1[] size is 172
array2[]; size is 172
array3[]; size is 173
</code></pre>

<p>when i call url again then it appear like 
second scenario::</p>

<pre><code>array1[] size is 173
array2[]; size is 172
array3[]; size is 172
</code></pre>

<p>and when i have print it that array in logcat then it give me
     array1[] size is 173(according to second scenario)
    [Rwa road,redlake roa, d , mkroad, .. .. ..]
     size 173
so it raise problem in parsing, it break string <strong>redlake road</strong> with <strong>redlake roa</strong> &amp; <strong>d</strong>(in next index)
so i thought something gone wrong in parser
i have also try with <strong>XML Validator</strong> and insert it in and it trow error in any line but not exactly that line.</p>

<p>Hope you can solve and understand my problem</p>
