Objective3 / ElementParser

ElementParser is lightweight Cocoa Framework (usable on the iPhone) to provide easy access to XML and HTML content.
http://touchtank.wordpress.com/element-parser/
422 stars 48 forks source link

Descendant selectors don't appear to work for callbacks #1

Open sixten opened 15 years ago

sixten commented 15 years ago

I've been playing with this code for a good chunk of the afternoon. I very much like the style of this interface to parsing, especially the URLParser and its incremental callback approach.

The one snag I seem to have hit is that, while I can use selectors like "foo > bar" to find elements in the DOM I get back from the full parse, it does not appear that I can use a selector like that with performSelector:forElementsMatching:. Sibling selectors like "foo + bar" do seem to work, as far as I can tell.

Is that intended behavior?

parisman commented 15 years ago

No. this is a bug... I will investigate