Re: looks like Intel vs. PowerPC difference
Re: looks like Intel vs. PowerPC difference
- Subject: Re: looks like Intel vs. PowerPC difference
- From: Nat! <email@hidden>
- Date: Sat, 5 Aug 2006 18:03:53 +0200
Am 04.08.2006 um 00:05 schrieb Bill Bumgarner:
On Aug 3, 2006, at 2:52 PM, Jakob Olesen wrote:
On 03/08/2006, at 22.49, Bill Bumgarner wrote:
The NSXMLDocument class is free to do whatever it wants to err,
including setting it to a completely bogus state, if the xmlDoc
was correctly parsed and produced. It might be that the xmlDoc
sets the reference pointed to by &err to an allocated instance of
NSError that is -release'd upon successful completion, but the
reference is not "cleared" because there is no reason to do so.
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.
That is inconsistent on the part of NSXMLDocument. I believe there
is a bug tracking that.
b.bum
Or maybe your argument is inconsistent... Because warnings might me
interesting to receive ??
I am not too impressed with the reasoing, that NSXMLDocument is free
to return a bogus value, when the return is non nil. But that's just
me I guess :)
Ciao
Nat!
----------------------------------------------------------
I have a poetic license, and I am not afraid to invoke it.
-- DLR
_______________________________________________
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