_parse() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/xmlscanner.rb, line 15
    def _parse
      begin
        if @rss.is_a?(String)
          input = StringIO.new(@rss)
        else
          input = @rss
        end
        scanner = XMLScan::XMLScanner.new(@listener)
        scanner.parse(input)
      rescue XMLScan::Error => e
        lineno = e.lineno || scanner.lineno || input.lineno
        raise NotWellFormedError.new(lineno){e.message}
      end
    end
Register or log in to add new notes.