ZF-8006: Zend_Dom_Query_Css2Xpath direct descendants syntax breaks w/whitespace

Issue Type: Bug Created: 2009-10-02T13:44:53.000+0000 Last Updated: 2010-01-21T09:35:00.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Chris Martin (cgmartin) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dom_Query

Related issues: Attachments: - library_Zend_Dom_Query.diff


Using the css query syntax for direct descendants with whitespace on either side of the '>' breaks the parsing.

Works: "div>a" Fails: "div > a"

Manual docs shows example with whitespace, and jQuery allows whitespace as well (consistency).


Posted by Chris Martin (cgmartin) on 2009-10-02T13:45:40.000+0000

Patch included

Posted by Matthew Weier O'Phinney (matthew) on 2010-01-21T09:35:00.000+0000

Fixed in trunk and the 1.10 release branch; thanks for the patch!

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.