ObjFW  Check-in [4f6d13223e]

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: 4f6d13223e55af162255847272093ee243b9e7dc53f984d0df8818aec4e6338c
User & Date: js on 2011-06-04 13:56:19
Other Links: branch diff | manifest | tags
Context
2011-06-04
15:27
Add missing include. check-in: eef1a8d4ad user: js tags: 0.5
13:56
Also set finishedParsing if the root element is in short form. check-in: 4f6d13223e user: js tags: 0.5
13:31
Fix -[OFURL isEqual:]. check-in: d61c00e257 user: js tags: 0.5
Changes

Modified src/OFXMLParser.m from [fb389d051f] to [58a072789b].

697
698
699
700
701
702
703



704
705
706
707
708
709
710
			elementEndHandler(self, name, prefix, ns);
		else
#endif
			[delegate parser: self
			   didEndElement: name
			      withPrefix: prefix
			       namespace: ns];




		[namespaces removeNObjects: 1];
	} else if (prefix != nil) {
		OFString *str = [OFString stringWithFormat: @"%@:%@",
							    prefix, name];
		[previous addObject: str];
	} else







>
>
>







697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
			elementEndHandler(self, name, prefix, ns);
		else
#endif
			[delegate parser: self
			   didEndElement: name
			      withPrefix: prefix
			       namespace: ns];

		if ([previous count] == 0)
			finishedParsing = YES;

		[namespaces removeNObjects: 1];
	} else if (prefix != nil) {
		OFString *str = [OFString stringWithFormat: @"%@:%@",
							    prefix, name];
		[previous addObject: str];
	} else