Skip Menu |

This queue is for tickets about the HTML-Selector-XPath CPAN distribution.

Report information
The Basics
Id: 50131
Status: resolved
Priority: 0/
Queue: HTML-Selector-XPath

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

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



CC: oliver.g.charles [...] googlemail.com
Subject: Unary > Incorrectly Converted
Date: Wed, 30 Sep 2009 10:22:57 -0700
To: bug-html-selector-xpath [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Tatsuhiko-San, Using "> em" as an example: perl -MHTML::Selector::XPath -le 'print HTML::Selector::XPath::selector_to_xpath("> em")' ///em I think that this is wrong. See: http://css2xpath.appspot.com/?format=html&css=%3E+em Where it says that it should be "descendant-or-self::*/em". I think that "./em" would work, too. I need this in order for recursive searches to work with CSS selectors in Test::XPath. Thanks, David
Heya Miyagawa-San, Any chance this could get resolved soonish? I'd like to put out a new version of Test::XPath that needs it fixed to be at all useful. Thanks, David
Subject: Re: [rt.cpan.org #50131] Unary > Incorrectly Converted
Date: Thu, 14 Jan 2010 11:48:42 -0800
To: bug-HTML-Selector-XPath [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Hi David! Sorry my time has been mostly focused on other projects such as Plack and i don't have time off hand to fix this. In other words, it's been always in the "patches welcome" state. The original CSS selector to XPath converter was written by aristotle pegaltzis (github.com/ap) so approaching him would not be a bad idea... On Thu, Jan 14, 2010 at 10:07 AM, David Wheeler via RT <bug-HTML-Selector-XPath@rt.cpan.org> wrote: Show quoted text
>       Queue: HTML-Selector-XPath >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50131 > > > Heya Miyagawa-San, > > Any chance this could get resolved soonish? I'd like to put out a new version of Test::XPath that > needs it fixed to be at all useful. > > Thanks, > > David >
-- Tatsuhiko Miyagawa
Fixed in 0.05