From: Charles Nutter Date: 2011-01-21T09:35:03+09:00 Subject: [ruby-core:34690] [Ruby 1.9-Bug#4301][Open] Off-by-one line number in Psych parse error Bug #4301: Off-by-one line number in Psych parse error http://redmine.ruby-lang.org/issues/show/4301 Author: Charles Nutter Status: Open, Priority: Normal ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] 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. ---------------------------------------- http://redmine.ruby-lang.org