Re: looks like Intel vs. PowerPC difference
Re: looks like Intel vs. PowerPC difference
- Subject: Re: looks like Intel vs. PowerPC difference
- From: Kay Roepke <email@hidden>
- Date: Fri, 4 Aug 2006 00:09:08 +0200
On 3. Aug 2006, at 23:52 Uhr, Jakob Olesen wrote:
In fact, NSXMLDocument does something like this. If it generates /
warnings/ during the parse, err points to an NSError with the
warnings, but it still returns a valid document.
It is not really clear from the docs if I can use this NSError in
that case.
That, too, is clearly documented. <http://developer.apple.com/
documentation/Cocoa/Reference/Foundation/Classes/NSXMLDocument_Class/
Reference/Reference.html#//apple_ref/doc/uid/20002406-BCIBGGCB>
What isn't exactly clear is how the developer is supposed to know
whether a warning occurred or not. After all, you are passing just an
address
to some storage. Just but looking at that you can't be sure if it's
safe to examine it.
NSXMLDocument doesn't respond to a hasWarnings message or something
like that...
-k
--
Kay Röpke <email@hidden>
classdump Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden