private Method

REXMLParser._parse

There's no documentation for this item.

Source Code

# File rss/rexmlparser.rb, line 20
def _parse
  begin
    REXML::Document.parse_stream(@rss, @listener)
  rescue RuntimeError => e
    raise NotWellFormedError.new{e.message}
  rescue REXML::ParseException => e
    context = e.context
    line = context[0] if context
    raise NotWellFormedError.new(line){e.message}
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.