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 & XML
xmltwig.com