Re: NSXML Parsing Problem

2010-03-26 Thread Jeffrey Oleander
> On Thu, 2010/03/25, Keary Suska wrote: >> Maybe a cool option for NSXML would be to be able to >> specify the & pound ; sequence and have it map it to >> whatever... > My XML is a little rusty but IIRC this is an XML issue, and > any XML parser would choke. You have to define (or perhaps

Re: NSXML Parsing Problem

2010-03-25 Thread Jens Alfke
On Mar 25, 2010, at 7:34 PM, Dave wrote: > I was wondering if changing the XML charset would solve the problem? From > searching the Web I think the problem could be that we are assuming UTF-8, I > was wondering if we changed it to one of the ISO char sets if this would > solve it. No, it has

Re: NSXML Parsing Problem

2010-03-25 Thread Keary Suska
On Mar 25, 2010, at 8:34 PM, Dave wrote: > Hi Jens, > > Thanks for taking the time to reply. We are a startup and basically just > trying to get thing going with what we have. I'm downloading the XML data via > a URL and I could just change the database and strip out the offending > characters

Re: NSXML Parsing Problem

2010-03-25 Thread Jack Carbaugh
Typically what i do is download the XML into a string ... then if there are special characters that i know about in advance, i can use string class methods to replace them in the string before passing off to the xml parser. just another option to consider. jack On Mar 25, 2010, at 10:34 P

Re: NSXML Parsing Problem

2010-03-25 Thread Dave
Hi Jens, Thanks for taking the time to reply. We are a startup and basically just trying to get thing going with what we have. I'm downloading the XML data via a URL and I could just change the database and strip out the offending characters. I was wondering if changing the XML charset wo

Re: NSXML Parsing Problem

2010-03-25 Thread Jens Alfke
On Mar 25, 2010, at 8:47 AM, Dave wrote: I am getting an error using NSXMLParser if it encounters a British Pound Sign - it's encoded as & pound ; (minus the spaces). Any idea on how to solve this?? Basic XML only defines a handful of character entities. The other common ones are part o

NSXML Parsing Problem

2010-03-25 Thread Dave
Hi All, I am getting an error using NSXMLParser if it encounters a British Pound Sign - it's encoded as & pound ; (minus the spaces). Any idea on how to solve this?? Thanks in Advance All the Best Dave ___ Cocoa-dev mailing list (Cocoa-dev@li