From: Motohiro KOSAKI Date: 2011-07-21T14:50:56+09:00 Subject: [ruby-core:38309] [Ruby 1.9 - Bug #4301] Off-by-one line number in Psych parse error Issue #4301 has been updated by Motohiro KOSAKI. Category set to lib Target version changed from 1.9.3 to 1.9.x I wonder why this issue is not 3rd party issue. Anyway this is not 1.9.3 material. ---------------------------------------- Bug #4301: Off-by-one line number in Psych parse error http://redmine.ruby-lang.org/issues/4301 Author: Charles Nutter Status: Assigned Priority: Normal Assignee: Aaron Patterson Category: lib Target version: 1.9.x ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] =begin For the following yaml: # based on "SGML/XML character entity reference" at http://www.bitjungle.com/isoent/ # --- #DOUBLE LOW-9 QUOTATION MARK #requires fontenc:T1 ldquor: ,, Psych produces the following error: /Users/headius/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML at line 5 column 9 (Psych::SyntaxError) The error is at line 6, not line 5. =end -- http://redmine.ruby-lang.org