Re: looks like Intel vs. PowerPC difference
Re: looks like Intel vs. PowerPC difference
- Subject: Re: looks like Intel vs. PowerPC difference
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 3 Aug 2006 15:05:46 -0700
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
_______________________________________________
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