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


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).


Patch included

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