Index: src/OFXMLElement.m ================================================================== --- src/OFXMLElement.m +++ src/OFXMLElement.m @@ -212,11 +212,11 @@ - initWithCDATA: (OFString*)CDATA_ { self = [super init]; @try { - if (CDATA_) + if (CDATA_ == nil) @throw [OFInvalidArgumentException newWithClass: isa selector: _cmd]; CDATA = [CDATA_ copy]; } @catch (id e) {