Method: Aws::Xml::Parser::OgaEngine#parse

Defined in:
lib/aws-sdk-core/xml/parser/oga_engine.rb

#parse(xml) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



17
18
19
20
21
# File 'lib/aws-sdk-core/xml/parser/oga_engine.rb', line 17

def parse(xml)
  Oga.sax_parse_xml(self, xml, strict:true)
rescue LL::ParserError => error
  raise ParsingError.new(error.message, nil, nil)
end