oblac / jodd

Jodd! Lightweight. Java. Zero dependencies. Use what you like.
https://jodd.org
BSD 2-Clause "Simplified" License
4.06k stars 723 forks source link

Does jodd jerry support namespace scoping? #7

Closed doosik71 closed 12 years ago

doosik71 commented 12 years ago

I want to search some elements from the XML document which have namespace scope like bellows:

<cfg:test>
    <cfg:node>This is a text</cfg:node>
</cfg:test>

But, I get an exception as bellows:

jodd.csselly.CSSellyException: Unsupported pseudo class: test

Does jodd jerry support namespace scoping?

igr commented 12 years ago

Since this issue was also submitted on google code, we will continue tracking it there.

Thank you submitting the issue!

Short answer is : Lagarto supports namespaces - actually, it simple accept tags with namespace information in it; but the CSSelly, our css selector engine does not.

Started working on this....

igr commented 12 years ago

fixed in d05eaf47edceaf1333ac07753acb65b6febd8075