Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [Failures:
  1) Prawn::SVG::Document#initialize when unparsable XML is provided raises an exception
     Failure/Error:
       expect do
         Prawn::SVG::Document.new(svg, bounds, options)
       end.to raise_error Prawn::SVG::Document::InvalidSVGData, 'The data supplied is not a valid SVG document.'
       expected Prawn::SVG::Document::InvalidSVGData with "The data supplied is not a valid SVG document.", got #<REXML::ParseException:"Malformed XML: Content at the start of the document (got 'this isn't SVG data')\nLine: 1\nPosition: 19\nLast 80 unconsumed characters:\n"> with backtrace:
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/baseparser.rb:517:in `pull_event'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/baseparser.rb:243:in `pull'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/treeparser.rb:21:in `parse'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/document.rb:452:in `build'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/document.rb:103:in `initialize'
         # ./lib/prawn/svg/document.rb:20:in `new'
         # ./lib/prawn/svg/document.rb:20:in `initialize'
         # ./spec/prawn/svg/document_spec.rb:30:in `new'
         # ./spec/prawn/svg/document_spec.rb:30:in `block (5 levels) in <top (required)>'
         # ./spec/prawn/svg/document_spec.rb:29:in `block (4 levels) in <top (required)>'
     # ./spec/prawn/svg/document_spec.rb:29:in `block (4 levels) in <top (required)>'
  2) Prawn::SVG::Document#initialize when the user passes in a filename instead of SVG data raises an exception letting them know what they've done
     Failure/Error:
       expect do
         Prawn::SVG::Document.new(svg, bounds, options)
       end.to raise_error Prawn::SVG::Document::InvalidSVGData,
         "The data supplied is not a valid SVG document.  It looks like you've supplied a filename instead; use IO.read(filename) to get the data before you pass it to prawn-svg."
       expected Prawn::SVG::Document::InvalidSVGData with "The data supplied is not a valid SVG document.  It looks like you've supplied a filename instead; use IO.read(filename) to get the data before you pass it to prawn-svg.", got #<REXML::ParseException:"Malformed XML: Content at the start of the document (got 'some_file.svg')\nLine: 1\nPosition: 13\nLast 80 unconsumed characters:\n"> with backtrace:
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/baseparser.rb:517:in `pull_event'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/baseparser.rb:243:in `pull'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/parsers/treeparser.rb:21:in `parse'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/document.rb:452:in `build'
         # /usr/share/gems/gems/rexml-3.3.9/lib/rexml/document.rb:103:in `initialize'
         # ./lib/prawn/svg/document.rb:20:in `new'
         # ./lib/prawn/svg/document.rb:20:in `initialize'
         # ./spec/prawn/svg/document_spec.rb:40:in `new'
         # ./spec/prawn/svg/document_spec.rb:40:in `block (5 levels) in <top (required)>'
         # ./spec/prawn/svg/document_spec.rb:39:in `block (4 levels) in <top (required)>'
     # ./spec/prawn/svg/document_spec.rb:39:in `block (4 levels) in <top (required)>']: [Failed tests. Both failed due to supplying a filename instead of the file data.]


Answer: Issue: Incorrect data are being passed in test case which fails the tests and therefore also build.
Resolution: Adjust file "./spec/prawn/svg/document_spec.rb:39" and "./spec/prawn/svg/document_spec.rb:29" to read the files first before passing it further in the tests.