'--' is an unexpected token. The expected token is '>'. Line 81, position 5.
Posted
by vamsivanka
on Stack Overflow
See other posts from Stack Overflow
or by vamsivanka
Published on 2010-04-20T16:11:15Z
Indexed on
2010/04/20
16:13 UTC
Read the original article
Hit count: 228
I am trying to get the html for this link http://slashdot.org/firehose.pl?op=rss&content_type=rss&orderby=createtime&fhfilter="home:vamsivanka"
Dim myRequest As WebRequest
Dim myResponse As WebResponse
Try
myRequest = System.Net.WebRequest.Create(url)
myRequest.Timeout = 10000
myResponse = myRequest.GetResponse()
Dim rssStream As Stream = myResponse.GetResponseStream()
Dim rssDoc As New XmlDocument()
rssDoc.Load(rssStream)
Catch ex As Exception
End Try
But the rssDoc.Load is giving me an error '--' is an unexpected token. The expected token is '>'. Line 81, position 5.
Please Let me know your suggestions.
© Stack Overflow or respective owner