Hi,

I found a small issue with the :contains-element() pseudo-function.

The following selector triggers an error:
e\:X:contains-element(e\:Y)

Error text:
file:/path/to/my.css:1096:62: pseudo ?l?ment ou pseudo classe mal form? 
"contains-element"


Workaround:
e\:X:contains-element(|e\:Y)

(i.e., explicitly putting the element in no namespace).


To give you a bit of context, the DTD uses namespaces, but since XXE 
doesn't support namespaces in DTD (if I understand well), I need to 
pretend there is no namespace and escape the :.

I'd expect e\:X and |e\:X to be equivalent in my context. At least, it 
is so outside this pseudo-function.


Cheers,
Benoit



Reply via email to