@@ -112,11 +112,11 @@ static OF_INLINE void appendToBuffer(OFMutableData *buffer, const char *string, OFStringEncoding encoding, size_t length) { - if OF_LIKELY(encoding == OFStringEncodingUTF8) + if OF_LIKELY (encoding == OFStringEncodingUTF8) [buffer addItems: string count: length]; else { void *pool = objc_autoreleasePoolPush(); OFString *tmp = [OFString stringWithCString: string encoding: encoding @@ -497,11 +497,11 @@ { if (self->_data[self->_i] == '?') self->_level = 1; else if (self->_level == 1 && self->_data[self->_i] == '>') { void *pool = objc_autoreleasePoolPush(); - OFString *PI, *target, *data = nil; + OFString *PI, *target, *text = nil; OFCharacterSet *whitespaceCS; size_t pos; appendToBuffer(self->_buffer, self->_data + self->_last, self->_encoding, self->_i - self->_last); @@ -510,28 +510,28 @@ whitespaceCS = [OFCharacterSet characterSetWithCharactersInString: @" \r\n\r"]; pos = [PI indexOfCharacterFromSet: whitespaceCS]; if (pos != OFNotFound) { target = [PI substringToIndex: pos]; - data = [[PI substringFromIndex: pos + 1] + text = [[PI substringFromIndex: pos + 1] stringByDeletingEnclosingWhitespaces]; - if (data.length == 0) - data = nil; + if (text.length == 0) + text = nil; } else target = PI; if ([target caseInsensitiveCompare: @"xml"] == OFOrderedSame) - if (!parseXMLProcessingInstruction(self, data)) + if (!parseXMLProcessingInstruction(self, text)) @throw [OFMalformedXMLException exceptionWithParser: self]; if ([self->_delegate respondsToSelector: @selector( - parser:foundProcessingInstructionWithTarget:data:)]) + parser:foundProcessingInstructionWithTarget:text:)]) [self->_delegate parser: self foundProcessingInstructionWithTarget: target - data: data]; + text: text]; objc_autoreleasePoolPop(pool); [self->_buffer removeAllItems];