scrapy/scrapy — pull request #861 by nramirezuy (2014-08-19 18:46:08+00:00)
Title: [WIP] fix xmliter namespace on selected node

This PR was triggered by [scrapy-users](https://groups.google.com/forum/#!topic/scrapy-users/VN6409UHexQ)

Actually `xmliter` populates a `Selector` with everything from the position 0 to the tag start, so if we had 100mb before the tag we want to iter it copy those 100mb across all the `Selector` objects. Also it just extract this info for the first tag and embed the rest on that, this can cause info crossing.

In this PR kept the regex stuff even tho I think we should use something like [`iterparse`](https://docs.python.org/2/library/xml.etree.elementtree.html#xml.etree.ElementTree.iterparse).

Currently `xmliter_lxml` tests are failing due to it has a different API.