Re: Book "Cocoa programming for Mac OS X" Third Edition

2011-03-11 Thread Josh Caswell
eprecated or scheduled-for-deprecation methods. This presents no real problem, however; it just makes you dig into Apple's documentation more carefully (which I personally found to be a helpful learning "feature" in itself). It is an excellen

Fwd: NSXMLParserDelegateAbortedParseError

2011-03-09 Thread Josh Caswell
you a mention unless you object. -- Josh Caswell ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/

Fwd: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
> So you are not getting a parsing error, you're using the wrong mechanism. I think I see what you are saying. When my parser encounters an element called "Error", I know that I don't need any more parsing done no matter what else is in the data, so it seemed sensible to have the delegate stop the

Re: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
>This error is the parser state, which since you explicitly aborted ?>the >parse, will be something like >"NSXMLParserDelegateAbortedParseError" -512. Yes, as I said in my original post. The parser's delegate gets error 512, NSXMLParserDelegateAbortedParseError, in the delegate method -parser:par

Re: NSXMLParserDelegateAbortedParseError

2011-03-08 Thread Josh Caswell
.") is used for an alert sheet as I described. I'm just wondering why, after my delegate aborts the parse, the parser changes the error code. -- Josh Caswell ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

NSXMLParserDelegateAbortedParseError

2011-03-07 Thread Josh Caswell
This is a copy-paste of a question I asked on StackOverflow < http://stackoverflow.com/questions/5132266/nsxmlparser-error-code-changes-after-abort>, which hasn't gotten any answers. I'm still curious about it and hoped I might get a response on this list; apologies to anyone who is reading it twic