ObjFW  Diff

Differences From Artifact [5b1a6ebbe9]:

To Artifact [5f27189ab0]:


634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
634
635
636
637
638
639
640







641
642
643
644
645
646
647







-
-
-
-
-
-
-







						       selector: _cmd];

	OFString *old = defaultNamespace;
	defaultNamespace = [ns_ copy];
	[old release];
}

- (void)bindDefaultNamespace: (OFString*)ns_
{
	[self setDefaultNamespace: ns_];
	[self addAttributeWithName: @"xmlns"
		       stringValue: ns_];
}

- (void)addChild: (OFXMLElement*)child
{
	if (name == nil)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];

	if (children == nil)