• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: looks like Intel vs. PowerPC difference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: looks like Intel vs. PowerPC difference (From: Matt Neuburg <email@hidden>)
 >Re: looks like Intel vs. PowerPC difference (From: Bill Bumgarner <email@hidden>)
 >Re: looks like Intel vs. PowerPC difference (From: Jakob Olesen <email@hidden>)
 >Re: looks like Intel vs. PowerPC difference (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Still problems resizing my view for printer
  • Next by Date: Re: Re: Cocoa Network + SSL
  • Previous by thread: Re: looks like Intel vs. PowerPC difference
  • Next by thread: Re: looks like Intel vs. PowerPC difference
  • Index(es):
    • Date
    • Thread