discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSXML.m line 2041.


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. It
will not accept NSMutableData it seems (it says "Bad NSData."). Bug or
feature? This is not a problem as I can make an NSData object (without
copying the bytes in the mutable object), but it does seem rather strange
that 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]