• 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: 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
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>)

  • Prev by Date: Re: Programmatically setting Principle Class
  • Next by Date: Re: looks like Intel vs. PowerPC difference
  • Previous by thread: Re: looks like Intel vs. PowerPC difference
  • Next by thread: Customizing Save panel
  • Index(es):
    • Date
    • Thread