You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSS3 spec allows the namespace field to be left empty, which indicates
an element with no namespace attached. However, cssselect cannot handle
those selectors right now.
ns|E
elements with name E in namespace ns
*|E
elements with name E in any namespace, including those without a namespace
|E
elements with name E without a namespace
E
if no default namespace has been declared for selectors, this is equivalent to *|E.
Otherwise it is equivalent to ns|E where ns is the default namespace.
The text was updated successfully, but these errors were encountered:
Problem
The CSS3 spec allows the namespace field to be left empty, which indicates
an element with no namespace attached. However, cssselect cannot handle
those selectors right now.
For example, suppose we have the following line:
This causes the parser to raise an exception:
Expected behaviour
cssselect should be able to handle a selector like
|foo
.Note
Here is the related part from Selector Level 3 $6.1.1:
The text was updated successfully, but these errors were encountered: