From: eduard Date: 2005-12-31T02:22:08+09:00 Subject: Re: Ruby-Feed parser and relative URL references ------=_Part_3689_5504063.1135963316177 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks Jon, I validated the feed with feedvalidator.org before posting the message and it said: "This feed is valid, but may cause problems for some users." Obviously, I am one of those users. I'll write email to engadget and tell them about the problem. Thanks for your help, eduard On 12/30/05, Jon Smirl wrote: > > On 12/30/05, eduard wrote: > > I am using Ruby-Feedparser and it works great, but when I try to parse = a > > feed in which description contains relative URL references, I get an > error: > > > > (REXML::ParseException) "# > occur in the doctype declaration.\nLine: \nPosition: \nLast 80 > unconsumed > > characters:\nFiled under: > http://engadget.com/category/cellphones/\< > http://engadget.com/category/cellphones/%5C>" > > rel=3D\">\n/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:325: > > > > Is there a workaround? > > That feed doesn't validate at http://www.feedvalidator.org/ but for > different reasons than your are experiencing. > > People need to validate feeds and complain to the authors. If feed > validation gets out of control we will be back to the HTML mess. > > http://googlereader.blogspot.com/2005/12/xml-errors-in-feeds.html > > -- > Jon Smirl > jonsmirl@gmail.com > > ------=_Part_3689_5504063.1135963316177--