Skip Menu |
 

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 54780
Status: resolved
Priority: 0/
Queue: YAML-Syck

People
Owner: Nobody in particular
Requestors: johann.Werner [...] nureg.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



X-Noris-Ip: 62.128.10.225
MIME-Version: 1.0 (Apple Message framework v1077)
X-Spam-Status: No, hits=0.0 required=8.0 tests=HTML_MESSAGE
X-Mailer: Apple Mail (2.1077)
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Message-ID: <775D6BC7-1C57-47C6-9A84-D17E7B3EF9C9 [...] nureg.de>
Content-Type: multipart/alternative; boundary=Apple-Mail-5-465909725
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id CABD34D801C for <bug-YAML-Syck [...] rt.cpan.org>; Thu, 18 Feb 2010 18:32:18 -0500 (EST)
Received: (qmail 10861 invoked by uid 103); 18 Feb 2010 23:32:18 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Feb 2010 23:32:18 -0000
Received: from mail03.noris.net (HELO mail03.noris.net) (62.128.1.223) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Thu, 18 Feb 2010 15:32:10 -0800
Received: from mail.nureg.de ([62.128.10.225]) by mail03.noris.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim) (envelope-from <johann.Werner [...] nureg.de>) id 1NiFqh-0000iq-7o for bug-YAML-Syck [...] rt.cpan.org; Fri, 19 Feb 2010 00:31:59 +0100
Received: from g227069016.adsl.alicedsl.de ([92.227.69.16] helo=[192.168.1.100]) by mail.nureg.de with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from <johann.Werner [...] nureg.de>) id 1NiFqg-0004k9-Ug for bug-YAML-Syck [...] rt.cpan.org; Fri, 19 Feb 2010 00:31:59 +0100
Delivered-To: cpan-bug+YAML-Syck [...] diesel.bestpractical.com
Subject: Wrong loading of YAML with double quoted style
Return-Path: <johann.Werner [...] nureg.de>
X-Original-To: bug-YAML-Syck [...] rt.cpan.org
X-Spam-Check-BY: 16.mx.develooper.com
Date: Fri, 19 Feb 2010 00:31:58 +0100
X-Spam-Level: *
To: bug-YAML-Syck [...] rt.cpan.org
From: Johann Werner <johann.Werner [...] nureg.de>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii
Content-Length: 645
Download (untitled) / with headers
text/plain 645b
Loading a YAML string that has a block with double quoted style returns a wrong result. Using this valid YAML input: --- "<tag>content\ \ string</tag>\n\ <anothertag>other\ \ content</anothertag>\n\ \ \n<i>new</i>\n" YAML::Syck::Load returns the string: <tag>content\ string</tag> <anothertag>other\ content</anothertag> \ <i>new</i> instead of the correct output of <tag>content string</tag> <anothertag>other content</anothertag> <i>new</i> In this example three backslashes are remaining in the ouput. A quick test with YAML::XS results in a correct output. My environment uses: Perl v5.10.0 OS X 10.6.2 YAML::Syck 1.07
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii
Content-Length: 1604
MIME-Version: 1.0
In-Reply-To: <775D6BC7-1C57-47C6-9A84-D17E7B3EF9C9 [...] nureg.de>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <775D6BC7-1C57-47C6-9A84-D17E7B3EF9C9 [...] nureg.de>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6782-1274353576-128.54780-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1045
(This is a form-reply that isn't specific to your particular report) YAML::Syck has just acquired one new maintainer (me), it still doesn't have anyone that *cares* about it. But I'm willing to help solve your report & release a new version with the fix if it's easy for me. It now has a Git repository at: http://github.com/avar/YAML-Syck If your report is a patch that fixes a problem, great. Please remake the patch against Git by forking that repo and sending me a pull request on GitHub (or an update to this bug if you prefer git-format-patch(1) or some other repo provider..). Make sure to include a test for what you fixed. If your report is some code that fails (and you have a testcase for it) a patch against the test suite to demonstrate that failure would be very useful. It's OK if the test crashes and burns, see Test::More's docs for how to make TODO tests that fail now, but shouldn't. Even if it segfaults perl C<system $^X => qw/ -Mblib -MYAML::Syck .../> or something like that and checking the return value will do.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-6782-1274353576-128.54780-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <775D6BC7-1C57-47C6-9A84-D17E7B3EF9C9 [...] nureg.de> <rt-3.8.HEAD-6782-1274353576-128.54780-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2369-1279569707-1691.54780-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 116
Download (untitled) / with headers
text/plain 116b
TODO test added via commit 5aeb663cc4c71b334066f5435bcddd2e33274877 I lack the time to find the bug at the moment.
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-11674-1494493054-1034.54780-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 73
Ticket migrated to github as https://github.com/toddr/YAML-Syck/issues/39


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.