I haven't checked your code very throughly (its no fun trying to read xml
parsing code) but that error seems to indicate you're trying to cast a
value into an xml element.
or as the Inception people said: you went too deep :)
you should do the same type checking you do in the level above it. fir
Not all Nodes are Elements.
Apparently, that node is not an element.
On Thursday, November 22, 2012 6:15:36 AM UTC-6, Ananda Krishna wrote:
>
> Hi
> I am trying to parse an xml file.But I am getting an exception.
> error Message :org.apache.harmony.xml.dom.TextImpl cannot be cast to
> org
I think you can see from your stack that you do not even get near your XML
parsing code.It is my impression that you fail open the Http connection to
get the file.
This might be because you have not given permission to your app to access
the internet.
Could you check that you have
in yo
Hi Ludwig,
Thanks for ur Response.. i added that entry. After adding tag in androidmanifest.xml, i was getting
UnknownHostException...it was basically due to URL classI replaced
everything with HTTPClient classes
Here is my modified class and it worked me.
import java.io.InputStream;
4 matches
Mail list logo