XMLDictionary icon indicating copy to clipboard operation
XMLDictionary copied to clipboard

problem with empty elements

Open krudos opened this issue 10 years ago • 0 comments

when i have a empty element it doesnt add id as null or empty to dictionary < example / >

example

NSString *xmlString = @"< ?xml version="1.0" encoding="UTF-8"? > < note > < to > Tove < /to > < example /> < body > Don't forget me this weekend! < /body > < /note >"; NSDictionary *resultD = [[XMLDictionaryParser sharedInstance] dictionaryWithString:xmlString]; dictionary shold have a @"example" key with empty string

krudos avatar Mar 19 '15 05:03 krudos