This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/CssSelector
Fabien Potencier 654352f8d1 merged branch pscheit/master (PR #2742)
Commits
-------

63e2a99 [CssSelector] Fixed Issue for XPathExprOr: missing prefix in string conversion

Discussion
----------

[CssSelector] Issue for XPathExprOr: missing prefix in string conversion

Hi there,

I created a small and dumb test for the issue. I looked at the original implementation and i think the problem is, that private properties are used in the parent class for xPathExprOr. so that the prefix cannot be accessd with $this->prefix in XPathExprOr
However I think the distribution for the prefix should be put in the parts of the or-sub-expressions the way it is shown in the test.

Hope this helps.

Best regards
Philipp
2011-12-01 08:46:19 +01:00
..
Exception [CssSelector] renamed SyntaxError 2011-06-14 14:12:03 +02:00
Node [CssSelector] renamed SyntaxError 2011-06-14 14:12:03 +02:00
composer.json bumped Symfony version in composer.json files to 2.0.7 2011-11-17 06:58:47 +01:00
CssSelector.php [CssSelector] renamed Parser::cssToXPath() to CssSelector::toXPath() 2011-06-15 07:55:23 +02:00
LICENSE added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
README renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00
Token.php [CssSelector] moved protected to private 2011-03-24 08:34:52 +01:00
Tokenizer.php [CssSelector] fixed exception namespace 2011-06-29 19:11:00 +02:00
TokenStream.php [CssSelector] moved protected to private 2011-03-24 08:34:52 +01:00
XPathExpr.php [CssSelector] moved protected to private 2011-03-24 08:34:52 +01:00
XPathExprOr.php [CssSelector] Fixed Issue for XPathExprOr: missing prefix in string conversion 2011-11-28 22:00:26 +01:00

This component is a port of the Python lxml library,
which is copyright Infrae and distributed under the BSD license.

Current code is a port of http://codespeak.net/svn/lxml/trunk/src/lxml/cssselect.py@71545