Re: NSXMLParserErrorDomain 4
Re: NSXMLParserErrorDomain 4
- Subject: Re: NSXMLParserErrorDomain 4
- From: Steven LeMaire <email@hidden>
- Date: Thu, 23 Feb 2006 20:11:42 -0500
Ok, sorry if this came through twice..
I added the line, and the *data shows a value of 443 bytes, after
running the line,
in the debugger.
Also, xmlURL shows a value of file://localhost/parsetest.xml
after executing NSURL *xmlURL = [NSURL fileURLWithPath:filePath];
Any known issues like this on an Intel iMac ?
-----Original Message-----
From: "Brett Powley"<email@hidden>
Sent: 2/23/06 6:27:52 PM
To: "Cocoa List"<email@hidden>
Cc: "Steven LeMaire"<email@hidden>
Subject: Re: NSXMLParserErrorDomain 4
Hi Steven,
Have you tested whether the contents of your file really are being
read? You could try something like:
NSData *data = [xmlURL resourceDataUsingCache:NO];
to see if it does like your URL.
Cheers,
Brett
On 23/02/2006, at 1:34 PM, Chris Parker wrote:
On Feb 22, 2006, at 6:23 PM, Steven LeMaire wrote:
I am getting this error trying to parse a simple xml doc.
Can someone provide more info, with what is going wrong ?
The xml file is local on my HD, it is very simple. The code is
very simple.
[Message truncated. Tap Edit->Mark for Download to get remaining
portion.]
[Message truncated. Tap Edit->Mark for Download to get remaining
portion.]
_______________________________________________
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