From: Aaron Patterson Date: 2011-07-22T05:00:41+09:00 Subject: [ruby-core:38359] [Ruby 1.9 - Bug #4301][Third Party's Issue] Off-by-one line number in Psych parse error Issue #4301 has been updated by Aaron Patterson. Status changed from Assigned to Third Party's Issue Yes, this should be third party issue. ---------------------------------------- Bug #4301: Off-by-one line number in Psych parse error http://redmine.ruby-lang.org/issues/4301 Author: Charles Nutter Status: Third Party's Issue 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