@@ -115,11 +115,18 @@ OF_GETTER(_namespace, true) } - (OFString*)stringValue { - OF_GETTER(_stringValue, true) + return [[_stringValue copy] autorelease]; +} + +- (void)setStringValue: (OFString*)stringValue +{ + OFString *old = _stringValue; + _stringValue = [stringValue copy]; + [old release]; } - (bool)isEqual: (id)object { OFXMLAttribute *attribute;