Quantcast
Channel: I get Invalid byte when I try parse xml - Stack Overflow
Browsing all 2 articles
Browse latest 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 all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>