|
From: | Richard Frith-Macdonald |
Subject: | Re: GSXML.m line 2041. |
Date: | Mon, 27 Mar 2006 21:10:08 +0100 |
On 25 Mar 2006, at 22:09, Marko Riedel wrote:
Hi folks,it turns out GSXMLParser is rather picky about the data it will parse. Itwill not accept NSMutableData it seems (it says "Bad NSData."). Bug or feature? This is not a problem as I can make an NSData object (withoutcopying the bytes in the mutable object), but it does seem rather strangethat it would not accept a perfectly good NSMutableData object.
Are you sure that you are passing it a mutable data object?Looking at the code, the test is for NSData or a subclass (- isKindOfClass:), which should therefore include NSMutableData.
[Prev in Thread] | Current Thread | [Next in Thread] |