0

I have a loose html img tag in some incoming RSS that I am parsing. Meaning there is no end tag. I have zero control of the incoming feed, so I'm stuck. Is there anyway I can skip this tag. Everything works fine till I hit the tag.

Here's the exception.

06-07 15:46:14.704: ERROR/RSS Downloader(1162): org.xmlpull.v1.XmlPullParserException: END_TAG expected (position:START_TAG (empty) <img src='/ubbthreads/images/graemlins/smile.gif' alt=''>@29:212 in java.io.InputStreamReader@405405f8) 

1 Answer 1

1

I simply caught the exception and handled it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.