Skip Menu |
 

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

Report information
The Basics
Id: 19499
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: MIROD [...] cpan.org
Requestors: ddascalescu [...] gmail.com
Cc:
AdminCc:

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



X-Scanned-BY: AMaViS-ng at bestpractical
MIME-Version: 1.0
X-Spam-Status: No, hits=-1.3 required=8.0 tests=BAYES_00,DK_SIGNED,DK_VERIFIED,INFO_TLD,SPF_PASS
Content-Disposition: inline
Received-SPF: pass (x1.develooper.com: domain of ddascalescu [...] gmail.com designates 64.233.184.237 as permitted sender)
content-type: text/plain; charset="utf-8"; format="flowed"
Received: from localhost (localhost.localdomain [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id 5E6124D82C6 for <cpan-bug+xml-twig [...] diesel.bestpractical.com>; Fri, 26 May 2006 00:28:40 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id C71F24D809E for <bug-XML-Twig [...] rt.cpan.org>; Fri, 26 May 2006 00:28:39 -0400 (EDT)
Received: (qmail 7532 invoked by alias); 26 May 2006 04:28:39 -0000
Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.237) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 25 May 2006 21:28:37 -0700
Received: by wr-out-0506.google.com with SMTP id i4so292085wra for <bug-XML-Twig [...] rt.cpan.org>; Thu, 25 May 2006 21:28:31 -0700 (PDT)
Received: by 10.54.132.11 with SMTP id f11mr1215901wrd; Thu, 25 May 2006 21:28:31 -0700 (PDT)
Received: by 10.54.104.1 with HTTP; Thu, 25 May 2006 21:28:31 -0700 (PDT)
Delivered-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
Subject: Invalid attribute name hangs get_xpath
Return-Path: <ddascalescu [...] gmail.com>
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hzq9qFxL43xv8q5meIWncrR4Ib5GrpvFlGnNjKWoYozT3WEHdmrFiNiJy8PZ7YAOsDXLoNtMksVyNunLomSRi3IS3uYmx8WJwaWTZllaig2pMBgQZgw55crBWaC1u6lcIwwAGYqh4ftwrasTvt9fwsd65yPb2tvT1w99lqqeivw=
X-Original-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Thu, 25 May 2006 21:28:31 -0700
Message-Id: <3561cc6d0605252128i3f29fa59k2bfd49d1a351c27 [...] mail.gmail.com>
To: bug-XML-Twig [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: "Dan Dascalescu" <ddascalescu [...] gmail.com>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 157
Download (untitled) / with headers
text/plain 157b
Appended the following test case to test_xpath_cond.t: /doc[@!typo_but_should_not_hang] Hope that helps, Dan Dascalescu -- http://automaticallyyours.info
X-Scanned-BY: AMaViS-ng at bestpractical
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_HELO_PASS
In-Reply-To: <rt-3.5.HEAD-5329-1148617725-1697.19499-4-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-19499 [...] rt.cpan.org> <3561cc6d0605252128i3f29fa59k2bfd49d1a351c27 [...] mail.gmail.com> <rt-3.5.HEAD-5329-1148617725-1697.19499-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from localhost (localhost.localdomain [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id 7C1534D82C9 for <cpan-bug+xml-twig [...] diesel.bestpractical.com>; Fri, 26 May 2006 04:20:47 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 0BFD34D80CC for <bug-XML-Twig [...] rt.cpan.org>; Fri, 26 May 2006 04:20:40 -0400 (EDT)
Received: (qmail 11987 invoked by alias); 26 May 2006 08:18:10 -0000
Received: from mail-relay-3.tiscali.it (HELO mail-relay-3.tiscali.it) (213.205.33.43) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 26 May 2006 01:17:57 -0700
Received: from [192.168.2.200] (217.133.3.216) by mail-relay-3.tiscali.it (7.3.104) id 44329D4C00638C0F for bug-XML-Twig [...] rt.cpan.org; Fri, 26 May 2006 10:17:50 +0200
Delivered-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #19499] Invalid attribute name hangs get_xpath
User-Agent: Thunderbird 1.5.0.2 (X11/20060420)
Return-Path: <mirod [...] xmltwig.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
Date: Fri, 26 May 2006 04:16:59 -0400
Message-Id: <4476B97B.1040308 [...] xmltwig.com>
To: bug-XML-Twig [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Michel Rodriguez <mirod [...] xmltwig.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.5.HEAD-5326-1148631713-1416.19499-0-0 [...] rt.cpan.org>
Content-Length: 778
Download (untitled) / with headers
text/plain 778b
ddascalescu@gmail.com via RT wrote: Show quoted text
> Fri May 26 00:28:44 2006: Request 19499 was acted upon. > Transaction: Ticket created by ddascalescu@gmail.com > Queue: XML-Twig > Subject: Invalid attribute name hangs get_xpath > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: ddascalescu@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=19499 > > > > Appended the following test case to test_xpath_cond.t: > > /doc[@!typo_but_should_not_hang]
Indeed, XPath syntax errors in predicates were not caught and the code would go in an endless loop trying to parse it. It's fixed in the development version (test added in t/test_3_26.t) Thanks -- Michel Rodriguez Perl &amp; XML xmltwig.com


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.