On Tue, Apr 29, 2008 at 7:36 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:
>
> On 29 Apr '08, at 6:27 AM, Lorenzo Thurman wrote:
>
> I tried loading the XML into an NSString using
> > initWithContentsOfURL:encoding:error using Latin1 encoding. Under Leopard,
> > the XML is read in just fine. I can ou
On 29 Apr '08, at 6:27 AM, Lorenzo Thurman wrote:
I tried loading the XML into an NSString using
initWithContentsOfURL:encoding:error using Latin1 encoding. Under
Leopard, the XML is read in just fine. I can output the resulting
string in the debugger and it looks good and is parsed just f
Have you tried loading the data first, and then parsing it? Does the data
> > look reasonable, i.e. can you convert it to an NSString using the expected
> > encoding?
> >
>
I tried loading the XML into an NSString using
initWithContentsOfURL:encoding:error using Latin1 encoding. Under Leopard,
the
On Mon, Apr 28, 2008 at 8:57 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:
>
> On 28 Apr '08, at 6:42 PM, Lorenzo Thurman wrote:
>
> NSString* urlString = [str stringByAddingPercentEscapesUsingEncoding:
> > NSUTF8StringEncoding];
> >
>
> You shouldn't need this step if 'str' is already a string repre
On 28 Apr '08, at 6:42 PM, Lorenzo Thurman wrote:
NSString* urlString = [str stringByAddingPercentEscapesUsingEncoding:
NSUTF8StringEncoding];
You shouldn't need this step if 'str' is already a string
representation of the URL. For example, it would convert a "?" or "#"
in the URL into a
I'm using NSXMLParser to read an XML document from a server via
initiWithContentsOfURL. This works just fine under Leopard. I can read and
parse the data just fine, but under Tiger, I get an empty document error:
NSXMLParserErrorDomain = 4 (Empty document). There are several posts in the
archives a