Index: src/OFXMLElement.h ================================================================== --- src/OFXMLElement.h +++ src/OFXMLElement.h @@ -312,17 +312,10 @@ * * \param ns The default namespace for the element */ - (void)setDefaultNamespace: (OFString*)ns; -/** - * Binds the default namespace for the element. - * - * \param ns The default namespace for the element - */ -- (void)bindDefaultNamespace: (OFString*)ns; - /** * Adds a child to the OFXMLElement. * * \param child Another OFXMLElement which is added as a child */ Index: src/OFXMLElement.m ================================================================== --- src/OFXMLElement.m +++ src/OFXMLElement.m @@ -636,17 +636,10 @@ 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];