@@ -56,14 +56,22 @@ return [[self stringValue] doubleValue]; } - (OFString*)XMLString { - return [self XMLStringWithIndentation: 0]; + return [self XMLStringWithIndentation: 0 + level: 0]; +} + +- (OFString*)XMLStringWithIndentation: (unsigned int)indentation +{ + return [self XMLStringWithIndentation: 0 + level: 0]; } - (OFString*)XMLStringWithIndentation: (unsigned int)indentation + level: (unsigned int)level { @throw [OFNotImplementedException exceptionWithClass: isa selector: _cmd]; } @@ -78,9 +86,8 @@ selector: _cmd]; } - copy { - @throw [OFNotImplementedException exceptionWithClass: isa - selector: _cmd]; + return [self retain]; } @end