From: "lehphyro (Leandro A)" Date: 2013-02-01T03:41:56+09:00 Subject: [ruby-core:51784] [ruby-trunk - Bug #7764][Open] REXML -- Malformed comment Issue #7764 has been reported by lehphyro (Leandro A). ---------------------------------------- Bug #7764: REXML -- Malformed comment https://bugs.ruby-lang.org/issues/7764 Author: lehphyro (Leandro A) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p374 (2013-01-15) [i386-mingw32] I'm getting the following trying to parse the attached xml: C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:95:in `rescue in parse': # C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:346:in `pull_event' C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:183:in `pull' C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:22:in `parse' C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/document.rb:231:in `build' C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize' install.rb:74:in `new' install.rb:74:in `
' ... Malformed comment Line: 181 Position: 7663 Last 80 unconsumed characters: Line: 181 Position: 7663 Last 80 unconsumed characters: from C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:20:in `parse' from C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/document.rb:231:in `build' from C:/dev/tools/ruby193/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize' from install.rb:74:in `new' from install.rb:74:in `
' Line 74 of install.rb is: doc = REXML::Document.new(File.new('settings.xml')) -- http://bugs.ruby-lang.org/