Quantcast
Channel: I get Invalid byte when I try parse xml - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by isnot2bad for I get Invalid byte when I try parse xml

The response entity is gzip encoded (so it's compressed)! You can wrap the input stream into a GZIPInputStream:InputStream inputStream = new GZIPInputStream(new URL(url).openStream());You should use...

View Article



I get Invalid byte when I try parse xml

I try to read/parse rss feed from NASA image of the day.Here is code below. I get the exception which tell me this:com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images