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

Report information
The Basics
Id:
19499
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
3.26



Subject: Invalid attribute name hangs get_xpath
Date: Thu, 25 May 2006 21:28:31 -0700
To: bug-XML-Twig@rt.cpan.org
From: "Dan Dascalescu" <ddascalescu@gmail.com>
Appended the following test case to test_xpath_cond.t: /doc[@!typo_but_should_not_hang] Hope that helps, Dan Dascalescu -- http://automaticallyyours.info
Subject: Re: [rt.cpan.org #19499] Invalid attribute name hangs get_xpath
Date: Fri, 26 May 2006 04:16:59 -0400
To: bug-XML-Twig@rt.cpan.org
From: Michel Rodriguez <mirod@xmltwig.com>
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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