ObjFW  Check-in [05c29433ac]

Overview
Comment:Also set finishedParsing if the root element is in short form.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.5
Files: files | file ages | folders
SHA3-256: 05c29433ac4c5d09599544c085ce1b44e0efab02b60a2ef16b7caec2f62c78f3
User & Date: js on 2011-05-12 19:47:28
Other Links: branch diff | manifest | tags
Context
2011-05-14
19:50
Ignore whitespaces around the root element in -[initWithXMLString]. check-in: 46056b5fa1 user: js tags: 0.5
2011-05-12
19:47
Also set finishedParsing if the root element is in short form. check-in: 05c29433ac user: js tags: 0.5
2011-05-08
23:25
Fix missing retain in -[OFArray initWithObject:argList:]. check-in: bd7dbccb8b user: js tags: 0.5
Changes

Modified src/OFXMLParser.m from [669b34c861] to [fb389d051f].

539
540
541
542
543
544
545



546
547
548
549
550
551
552
				elementEndHandler(self, name, prefix, ns);
			else
#endif
				[delegate parser: self
				   didEndElement: name
				      withPrefix: prefix
				       namespace: ns];



		} else
			[previous addObject: [[cache copy] autorelease]];

			[pool release];

			[name release];
			[prefix release];







>
>
>







539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
				elementEndHandler(self, name, prefix, ns);
			else
#endif
				[delegate parser: self
				   didEndElement: name
				      withPrefix: prefix
				       namespace: ns];

			if ([previous count] == 0)
				finishedParsing = YES;
		} else
			[previous addObject: [[cache copy] autorelease]];

			[pool release];

			[name release];
			[prefix release];