Questions tagged [xmlpullparser]

Either the Android XMLPullParser, or any other XML parser implementation that uses the concept of pulling in XML events.

Either the Android XMLPullParser, or any other XML parser implementation that uses the concept of pulling in XML events.

428 questions
2
votes
1 answer

Parsing XML XmlPullParser android

i'm using xmlpullparser in android to parse an xml document that looks like :
wael
  • 159
  • 1
  • 2
  • 9
2
votes
1 answer

Android : XmlpullParser exception

I got stuck with a problem, In my program I am getting the xmlpullparser exception and I goggled it but as I am new to android I couldn't able to understand how to solve the issue. I corrected my program a lot still I couldn't, some one help me to…
Randroid
  • 3,688
  • 5
  • 30
  • 55
2
votes
1 answer

How to parse XML With XmlPullParser?

I read an Xml file with XmlPullParser but it gives Exception (unterminated entity ref (position:TEXT @817:4 in java.io.InputStreamReader@4cb5258) when it comes to Dscp . i reader another shot like this before this shot every thing is ok until this…
Morteza Khodaie
  • 99
  • 2
  • 10
2
votes
1 answer

parse two different XML files at one time in listview android

I am working on xml in my android project and I am a beginner. i have a same xml in different language too like that
Khurram Ansar
  • 97
  • 1
  • 10
2
votes
1 answer

Why is this FileOutputStream creating an empty file?

This code creates the file, but it's always empty. I have seen some examples using a StringWriter, but my XML files can become so large, it doesn't seem practical saving it to a writer, converting it to a string, and then writing it to a file. It…
2
votes
2 answers

How to retrieve the encoding of an XML file to parse it correctly? (Best Practice)

My application downloads xml files that happen to be either encoded in UTF-8 or ISO-8859-1 (the software that generates those files is crappy so it does that). I'm from Germany so we're using Umlauts (ä,ü,ö) so it really makes a difference how those…
Crosswind
  • 940
  • 1
  • 10
  • 26
2
votes
0 answers

XML Data Parsing from a URL in Android ,UnExpected Token Position : TEXT Error

Xml data from URL 98778499 1 1 Manojkumar
Kumar
  • 969
  • 2
  • 22
  • 56
2
votes
2 answers

XML Pull Parser implementation in Perl?

Just as the title asks: are there any XML pull parser implementations in a Perl library? I looked at XML::TokeParser, but it's nine years old! I'm sure there's something out there that is functional?
user213345
2
votes
2 answers

java.lang.NoSuchMethodError: java.lang.System.arraycopy using XmlPullParser with Robolectric

I am trying to test my Android app in Android-Studio with Robolectric. One of my unit tests makes use of XmlPullParser: InputStream in = new FileInputStream(new File("somefile.xml")); XmlPullParser parser =…
Eric Leibenguth
  • 4,167
  • 3
  • 24
  • 51
2
votes
1 answer

Getting started with XMLPullParser

I am trying to use XMLPullParser but I cannot find any useful tutorials. Based off of the instructions on http://xmlpull.org/ I need to download an implementation of XMLPullParser as a jar file and then add it to my class path. However I cannot…
2
votes
2 answers

SaxParser is failing to parse url's

I'm trying to parse xml using SaxParser which is some times failing to parse url's that is coming in xml feed. I've xml feed some thing like this. 2015-01-02T04:36:52Z Beyond Me
Ramesh
  • 1,252
  • 3
  • 12
  • 30
2
votes
1 answer

How to parse to using XmlPullParser in Android?

i want parse the image url from tag in my rss feed. here is my xml feed?
Reza Ahmadi
  • 57
  • 1
  • 11
2
votes
1 answer

XmlPullParser returning no results (org.xmlpull.v1.XmlPullParserException)

Had to reword some methods because my partner is paranoid, lol. If you see any typos, it may be because of that, but please still point them out if you think they may be causing the issue Using XmlPullParser and at line 80, the value is always…
Psest328
  • 6,575
  • 11
  • 55
  • 90
2
votes
1 answer

XMLPullparser getEventType returns 0 everyTime

I've been trying to parse XML file but the getEventType method always returns 0. and the While loop is executing forever. public class FlowerPullParser { public static List parseFed(String content) throws XmlPullParserException,…
P-RAD
  • 1,293
  • 2
  • 15
  • 36
2
votes
1 answer