Hussein Shafie wrote:
> Benoit Maisonny wrote:
>   
>> 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.
>>     
>
> That's right. You have found a bug. It will be fixed in next release.
>
> ---
> PS: Note that e\:X:contains-element("e:Y") should have worked too.
>   
No, it doesn't , sorry. "e\:Y" and "|e\:Y" neither.

Benoit


Reply via email to