ObjFW  Diff

Differences From Artifact [10ad77a11e]:

To Artifact [c7b3cd8862]:


485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
		OFXMLElement *pair;

		pool = [[OFAutoreleasePool alloc] init];

		if (![[element name] isEqual: @"object"] ||
		    ![[element namespace] isEqual: OF_SERIALIZATION_NS] ||
		    ![[[element attributeForName: @"class"] stringValue]
		    isEqual: [isa className]])
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		dictionary = [OFMutableDictionary dictionary];
		pairs = [element elementsForName: @"pair"
				       namespace: OF_SERIALIZATION_NS];








|







485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
		OFXMLElement *pair;

		pool = [[OFAutoreleasePool alloc] init];

		if (![[element name] isEqual: @"object"] ||
		    ![[element namespace] isEqual: OF_SERIALIZATION_NS] ||
		    ![[[element attributeForName: @"class"] stringValue]
		    isEqual: [self className]])
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		dictionary = [OFMutableDictionary dictionary];
		pairs = [element elementsForName: @"pair"
				       namespace: OF_SERIALIZATION_NS];