Skip Menu |
 

This queue is for tickets about the XML-RSSLite CPAN distribution.

Report information
The Basics
Id: 80027
Status: new
Priority: 0/
Queue: XML-RSSLite

People
Owner: Nobody in particular
Requestors: tony [...] firshman.co.uk
Cc:
AdminCc:

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



From tony [...] firshman.co.uk Fri Oct 5 12: 25:58 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.234 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/mixed; boundary="------------050705030803010306050000"
Message-ID: <506F0A04.30104 [...] firshman.co.uk>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.234
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8338F2401F2 for <cpan-bug+XML-RSSLite [...] hipster.bestpractical.com>; Fri, 5 Oct 2012 12:25:58 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S21csI1CykCD for <cpan-bug+XML-RSSLite [...] hipster.bestpractical.com>; Fri, 5 Oct 2012 12:25:56 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 0F167240324 for <bug-XML-RSSLite [...] rt.cpan.org>; Fri, 5 Oct 2012 12:25:55 -0400 (EDT)
Received: (qmail 25585 invoked by uid 103); 5 Oct 2012 16:25:54 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 5 Oct 2012 16:25:54 -0000
Received: from mail-ee0-f50.google.com (HELO mail-ee0-f50.google.com) (74.125.83.50) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Fri, 05 Oct 2012 09:25:47 -0700
Received: by mail-ee0-f50.google.com with SMTP id c41so1466497eek.9 for <bug-XML-RSSLite [...] rt.cpan.org>; Fri, 05 Oct 2012 09:25:43 -0700 (PDT)
Received: by 10.14.204.72 with SMTP id g48mr14030290eeo.45.1349454343701; Fri, 05 Oct 2012 09:25:43 -0700 (PDT)
Received: from macbookpro-2.local (93-97-27-68.zone5.bethere.co.uk. [93.97.27.68]) by mx.google.com with ESMTPS id 7sm19724221eej.13.2012.10.05.09.25.41 (version=SSLv3 cipher=OTHER); Fri, 05 Oct 2012 09:25:42 -0700 (PDT)
Delivered-To: cpan-bug+XML-RSSLite [...] hipster.bestpractical.com
Subject: [ ] in text
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
Return-Path: <tony [...] firshman.co.uk>
X-RT-Mail-Extension: xml-rsslite
X-Original-To: cpan-bug+XML-RSSLite [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:x-gm-message-state; bh=oCR3zK5bs9E+Va9BT4kf81ahe3nC0bR2iGhe3poGAAc=; b=DsjS1tzWVL0tPMbTF7w3LgcrUbK+xYI04ktgNRmbX0IBAbJivQD0VXmkJcLNKRClRi wP/jlgc3qKdkvdjqBpW12tlkhoci3jawcc85YHD2WRooZYmPdIfZ5kIptVNm6EblGOV0 nCVpnXVe5LQF5xQkZI5k375isWeDSlOl2b1QoqRhak1/J/sVpJeITw2ZAMLq/soRjBXu XTtshNR2N55Nl+B25ubOo1mTQdEf6vHBuv7Ier2bUm0PFMukWGJyQ5Fro/qHJR5un6fy pA+h0qkp3NFk5MFRH8GUW402Jot0K1FeM87uSlNgmWplsUwB4TMbwS8f5pRFBEizaUfo NS+A==
Date: Fri, 05 Oct 2012 17:25:40 +0100
X-Spam-Level:
To: bug-XML-RSSLite [...] rt.cpan.org
X-GM-Message-State: ALoCoQnVxOlHu9evAszkROAdoiDcre8dMUnFz0YVR8EG47Yclw2mHzRNx539YctjfhpWCQiglrHd
From: Tony Firshman <tony [...] firshman.co.uk>
Content-Length: 0
content-type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1943
Download (untitled) / with headers
text/plain 1.8k
This may *not* be a bug. I used in perl: use XML::RSSLite; http://feeds.feedburner.com/lohudblogs/polhudson?format=xml (attached) has: --------------- <content:encoded><![CDATA[Moody&#8217;s Investment Services maintained Westchester County&#8217;s Aaa bond rating, but gave the state&#8217;s third largest county a negative outlook, saying it reflects the county&#8217;s structural imbalance &#8220;in prior years.&#8221; The rating was on the county&#8217;s $987.7 million of general obligation debt and upcoming bond sales. &#8220;The negative outlook reflects the county&#8217;s structural imbalance in prior [...]<br/> <br/> Click on the headline for the rest of this blog post ...<img src="http://feeds.feedburner.com/~r/lohudblogs/polhudson/~4/cI3-K40d3n4" height="1" width="1"/>]]> ----------------- and results in: Unmatched [ in regex; marked by <-- HERE in m/br|img|![ <-- HERE CDATA[Moody&#8217;s/ at /usr/share/perl5/XML/RSSLite.pm line 267. Is this bad rss - ie should they encode all square brackets? ... or is your code at fault? I think these square brackets only cause issues in CDATA[ sections which are always terminated by ']]'. My own code parses this RSS XML OK, but I thought I ought to go for a *proper* module! --------------------------------- From /usr/share/perl5/XML/RSSLite.pm $VERSION = 0.15; --------------------------------- tony@article64:~/n$ perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi (with 57 registered patches, see perl -V for more detail) --------------------------------- tony@article64:~/n$ uname -a Linux article64 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux --------------------------------- Tony Firshman -- tony@firshman.co.uk http://firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
content-type: application/zip; name="tf-xml.zip"
content-disposition: attachment; filename="tf-xml.zip"
Content-Transfer-Encoding: base64
Content-Length: 11113
Download tf-xml.zip
application/zip 10.8k

Message body not shown because it is not plain text.



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.