On Dec 1, 2003, at 1:52 PM, David A. Black wrote:

> On Tue, 2 Dec 2003, why the lucky stiff wrote:
>
>> Chad Fowler (chad / chadfowler.com) wrote:
>>>
>>> $ ruby -e '1.upto(1029) do |num|; print "-\n  x:z\n  y:#{num}\n"; 
>>> end' >big.yaml
>>>
>>
>> Yeah, I'm not sure this is the YAML you want to be generating.  I
>> believe this is valid YAML, but I'll need to check the specification.
>> It looks like you're trying to generate a Mapping within a Sequence.
>
> Here's a YAML-to-YAML version, same result (just for baseline
> comparison :-)
>
> $ cat ybug.rb
> YAML.load( (0..1029).map {|n| { "x" => "z", "y" => n } } .to_yaml)
> $ /usr/local/lib/ruby-cvs/bin/ruby -v -r yaml ybug.rb
> ruby 1.8.1 (2003-12-01) [i686-linux]
> /usr/local/lib/ruby-cvs/lib/ruby/1.8/yaml.rb:39:in `load': parse error 
> on line 666,

ok...so this line number thing is freaking me out.  Are you saying that 
YAML is the
beast spoken of in Revaletions ;-)

> col 3: `  x: z' (ArgumentError)
>         from /usr/local/lib/ruby-cvs/lib/ruby/1.8/yaml.rb:39:in `load'
>         from ybug.rb:1
>
>
> David
>
> -- 
> David A. Black
> dblack / wobblini.net
>
>
>