Flowdock
method

do_parse

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::XMLParser::REXMLParser
do_parse(string_or_readable) public

No documentation

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

Hide source
# File lib/xsd/xmlparser/rexmlparser.rb, line 21
  def do_parse(string_or_readable)
    source = nil
    source = REXML::SourceFactory.create_from(string_or_readable)
    source.encoding = charset if charset
    # Listener passes a String in utf-8.
    @charset = 'utf-8'
    REXML::Document.parse_stream(source, self)
  end
Register or log in to add new notes.