Displaying 3 results from an estimated 3 matches for "baseparser".
Did you mean:
asmparser
2006 Apr 17
5
XML-RPC Webservice API
...XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must
be
either a String, IO, StringIO or Source.
Backtrace:
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=''
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize''
/usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in `initialize''
/usr/lib/ruby/1.8/rexml/document.rb:173:in `parse_stream''
/usr/lib/ruby/1.8/xmlrpc/parser.rb:717:in `parse'...
2006 Feb 28
0
Ruby Feedparser and exceptions on valid feeds
...arser I get this error:
<REXML::ParseException: Declarations can only occur in the doctype
declaration.
Line:
Position:
Last 80 unconsumed characters:
<![CDATA[<p>Filed under: <a href="http://www.engadget.com/category/gaming/"
rel=">
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:325:in `pull''
/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse''
/usr/lib/ruby/1.8/rexml/document.rb:178:in `build''
/usr/lib/ruby/1.8/rexml/document.rb:45:in `initialize''
/home/eduard/rails/zaptxt/lib/feedparser/feedparser.rb:26:in `parse''
/h...
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed:
http://feeds.feedburner.com/Mobilecrunch
I get an error:
REXML::ParseException: Declarations can only occur in the doctype
declaration.
This feed does validate at feedvalidator.org. Any idea why it would raise
an exception?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: