Hi,

[email protected] wrote:
The same code, parsing the same data, works when run from the main thread
but not when run from a NSOperationQueue as done in the current code.

I know this code worked at some point, maybe by accident...

that gets complicated than. It means the parser works on that data, that's a good thing.

Saving to file went well, I suppose?

Could you do a further hack? IN the same queue, instead of using data from the resource, use the file. That means executing the code in the same place, but decoupling the two objects. It might be that the XML parser doesn't like being in that Thread at all, or it has a contention issue with [resource data] for whatever reason.

Next step would be to improve your small test program: you have the test data. You could instantiate a queue and run the parser of the data from there.

Riccardo

Reply via email to