ObjFW  Diff

Differences From Artifact [fe806a8af4]:

To Artifact [4ae1aec1cc]:


38
39
40
41
42
43
44
45
46


47
48
49
50
51
52
53
54
38
39
40
41
42
43
44


45
46

47
48
49
50
51
52
53







-
-
+
+
-







		abort();
	}

	pool = objc_autoreleasePoolPush();
	element = ((id <OFSerialization>)self).XMLElementBySerializing;

	root = [OFXMLElement elementWithName: @"serialization"
				   namespace: OF_SERIALIZATION_NS];
	[root addAttributeWithName: @"version"
				   namespace: OFSerializationNS];
	[root addAttributeWithName: @"version" stringValue: @"1"];
		       stringValue: @"1"];
	[root addChild: element];

	ret = [@"<?xml version='1.0' encoding='UTF-8'?>\n"
	    stringByAppendingString: [root XMLStringWithIndentation: 2]];

	[ret retain];