KissXML and iPhone OS 3.0

22 views
Skip to first unread message

marcel

unread,
May 8, 2009, 3:38:57 PM5/8/09
to KissXML
Hi,

I use KissXML for a couple of months now and it works really well.
Thank you for that!

However, when I compile my app against OS 3.0 my app will not run as
soon as I try to create:

DDXMLDocument *document = [[DDXMLDocument alloc]
initWithXMLString:result options:0 error:&error];

No error is thrown, the document is simply null...

Is there a way to debug this?
Are you aware of any issues?

It is really strange, compiling against OS 2.2 works as expected, OS
3.0 does not...

I hope you can help,

Marcel

Robbie Hanson

unread,
May 19, 2009, 1:26:08 AM5/19/09
to kis...@googlegroups.com
Are you still experiencing this problem with the latest 3.0 builds?
What string is giving you this problem?

-Robbie Hanson
-Deusty Designs

marcel

unread,
May 20, 2009, 2:29:55 AM5/20/09
to KissXML
Hi Robbie, I have not yet been able to test that build.
I will be back from my vacation in ~2 weeks and will test immediately.

Thanks, marcel

marcel

unread,
May 29, 2009, 2:45:42 AM5/29/09
to KissXML
The issue is still there.

What do you mean with 'What string is giving you this problem?'?

It is an utf8 string containing the full (downloaded) xml string...

Robbie Hanson

unread,
May 29, 2009, 10:37:45 AM5/29/09
to kis...@googlegroups.com

However, when I compile my app against OS 3.0 my app will not run as 
soon as I try to create: 

DDXMLDocument *document = [[DDXMLDocument alloc] 
initWithXMLString:result options:0 error:&error]; 

No error is thrown, the document is simply null... 

What is the "result" variable you're passing?

-Robbie Hanson
-Deusty Designs



marcel

unread,
Jun 3, 2009, 11:19:54 AM6/3/09
to KissXML
This is (roughly) on of the xml string that go in:

<mobile>
<sessionid><![CDATA[5a54139d573f2821dfffe85308f8266f]]></sessionid>
<version><![CDATA[3.00.06]]></version>
<department>
<departmentid><![CDATA[1]]></departmentid>
<title><![CDATA[General]]></title>
<isassigned><![CDATA[0]]></isassigned>
</department>
<department>
<departmentid><![CDATA[3]]></departmentid>
<title><![CDATA[Fun]]></title>
<isassigned><![CDATA[0]]></isassigned>
</department>
<status>
<ticketstatusid><![CDATA[1]]></ticketstatusid>
<title><![CDATA[Open]]></title>
<statuscolor><![CDATA[#5c83b4]]></statuscolor>
</status>
<status>
<ticketstatusid><![CDATA[2]]></ticketstatusid>
<title><![CDATA[On Hold]]></title>
<statuscolor><![CDATA[#8bb467]]></statuscolor>
</status>
<priority>
<priorityid><![CDATA[1]]></priorityid>
<title><![CDATA[Low]]></title>
<prioritycolor><![CDATA[#8a8a8a]]></prioritycolor>
</priority>
<priority>
<priorityid><![CDATA[2]]></priorityid>
<title><![CDATA[Medium]]></title>
<prioritycolor><![CDATA[#000000]]></prioritycolor>
</priority>
<staff>
<staffid><![CDATA[2]]></staffid>
<fullname><![CDATA[It2Be]]></fullname>
<email><![CDATA[softwar...@it2be.com]]></email>
</staff>
<staffid><![CDATA[2]]></staffid>
</mobile>
Reply all
Reply to author
Forward
0 new messages