KissXML icon indicating copy to clipboard operation
KissXML copied to clipboard

DDXMLDocument initWithRootElement missing

Open kgrigsby59 opened this issue 13 years ago • 4 comments

I would like to see the methods relating to DDXMLDocument initWithRootElement added that were in a patch at http://code.google.com/p/kissxml/issues/detail?id=29.

kgrigsby59 avatar Nov 15 '11 15:11 kgrigsby59

+1

noahmiller avatar Dec 06 '11 20:12 noahmiller

I would as well. I tried applying the old patch and there appears to be a memory issue. I'm getting an EXC_BAD_ACCESS when xmlFreeDoc(doc) is called in -[DDXMLNode dealloc] when my document is dealloc'ed in the auto release pool.

harrisg avatar Dec 23 '11 16:12 harrisg

+1 Or any other way to write DDXMLDocument

mureev avatar Apr 19 '12 11:04 mureev

I referenced this issue and got it working.

You can pull from my repo: https://github.com/lxcid/KissXML

I didn't send a pull request yet is because I haven't written any unit tests for the changes.

lxcid avatar May 29 '12 18:05 lxcid