Skip navigation.
 
mlRe: looks like Intel vs. PowerPC difference
FROM : Jakob Olesen
DATE : Thu Aug 03 23:52:20 2006

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.

It is not really clear from the docs if I can use this NSError in 
that case.

Related mailsAuthorDate
mllooks like Intel vs. PowerPC difference Andrei Tchijov Aug 3, 19:37
mlRe: looks like Intel vs. PowerPC difference Sherm Pendley Aug 3, 20:04
mlRe: looks like Intel vs. PowerPC difference Shawn Erickson Aug 3, 20:11
mlRe: looks like Intel vs. PowerPC difference Andrei Tchijov Aug 3, 20:22
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 3, 20:53
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 3, 20:55
mlRe: looks like Intel vs. PowerPC difference Sherm Pendley Aug 3, 21:05
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 3, 22:49
mlRe: looks like Intel vs. PowerPC difference John Stiles Aug 3, 22:55
mlRe: looks like Intel vs. PowerPC difference Kay Roepke Aug 3, 23:41
mlRe: looks like Intel vs. PowerPC difference Jakob Olesen Aug 3, 23:52
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 4, 00:05
mlRe: looks like Intel vs. PowerPC difference Kay Roepke Aug 4, 00:09
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 4, 00:44
mlRe: looks like Intel vs. PowerPC difference Bill Bumgarner Aug 4, 00:53
mlRe: looks like Intel vs. PowerPC difference Matt Neuburg Aug 4, 04:05
mlRe: looks like Intel vs. PowerPC difference Nat! Aug 5, 18:03