Message from discussion
Serious YAML bug
Path: g2news2.google.com!postnews.google.com!j55g2000cwa.googlegroups.com!not-for-mail
From: "Frantisek Fuka" <fux...@gmail.com>
Newsgroups: comp.lang.ruby
Subject: Serious YAML bug
Date: 3 Jun 2006 17:56:10 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <1149382570.184056.293480@j55g2000cwa.googlegroups.com>
NNTP-Posting-Host: 82.165.253.73
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1149382575 25537 127.0.0.1 (4 Jun 2006 00:56:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 4 Jun 2006 00:56:15 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060523 Ubuntu/dapper Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: j55g2000cwa.googlegroups.com; posting-host=82.165.253.73;
posting-account=4kIz7g0AAAAucz73yfhDbFS0TUlxTKsC
Hello,
I am using YAML to store around 100KB of strings (just simple arrays
and hashes) and I found out the "unpacking" of YAML data stops after
4096 (or so) characters of yaml file (without raising any errors) - the
parsed data just ends in the middle of the string. And it has nothing
to do with disk operations, it happens even when I read the whole yaml
file into string and then use "YAML.parse(longstring)" call. Maybe it
has something to do with the fact that my strings contains many
non-Ascii characters?
Here is the file (zipped) that gives me this problem:
http://fuxoft.cz/test.yaml.zip
I am using the latest Ruby included in Dapper Drake Linux distro and
YAML::Slyck version is "0.60".