* YAML parse error with YAML.load("\n\0".to_yaml)
@ 2003-06-19 3:21 Tanaka Akira
2003-06-19 6:17 ` why the lucky stiff
0 siblings, 1 reply; 2+ messages in thread
From: Tanaka Akira @ 2003-06-19 3:21 UTC (permalink / raw
To: ruby-core
YAML raises parse error as follows.
% ruby -ryaml -e 'YAML.load("\n\0".to_yaml)'
/home/akr/ruby/lib/ruby/1.8/yaml.rb:28:in `load': parse error on line 3, col -2: `' (ArgumentError)
from /home/akr/ruby/lib/ruby/1.8/yaml.rb:28:in `load'
from -e:1
--
Tanaka Akira
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: YAML parse error with YAML.load("\n\0".to_yaml)
2003-06-19 3:21 YAML parse error with YAML.load("\n\0".to_yaml) Tanaka Akira
@ 2003-06-19 6:17 ` why the lucky stiff
0 siblings, 0 replies; 2+ messages in thread
From: why the lucky stiff @ 2003-06-19 6:17 UTC (permalink / raw
To: ruby-core
Tanaka Akira (akr@m17n.org) wrote:
> YAML raises parse error as follows.
>
> % ruby -ryaml -e 'YAML.load("\n\0".to_yaml)'
Akira, thank you once again. Often in the afternoon when I am listless,
I spend some acreage of time playing with the `tst.rb' script in our
last correspondence. This case is one I discovered there as well.
A problematic document:
YAML::load <<EOY
- !str >
okay
EOY
I will report when this is corrected. Generally, I can run 100,000
iterations of your script and it will now pass. It has been quite
valuable.
_why
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-19 6:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19 3:21 YAML parse error with YAML.load("\n\0".to_yaml) Tanaka Akira
2003-06-19 6:17 ` why the lucky stiff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).