YAML cannot load string with hash symbol
-----------------------------------------
Key: JRUBY-1765
URL: http://jira.codehaus.org/browse/JRUBY-1765
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1b1
Reporter: George Secillano
require 'date'
require 'yaml'
YAML.load Date.new(-5000,1,1).to_yaml
It raises ArgumentError: ScannerException while scanning a tag we had this
expected ' ', but found #(35). MRI is able to handle this case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email