Index: src/OFXMLParser.h ================================================================== --- src/OFXMLParser.h +++ src/OFXMLParser.h @@ -144,11 +144,11 @@ #endif /** * \return A new, autoreleased OFXMLParser */ -+ xmlParser; ++ parser; /** * \return The delegate that is used by the XML parser */ - (OFObject *)delegate; Index: src/OFXMLParser.m ================================================================== --- src/OFXMLParser.m +++ src/OFXMLParser.m @@ -52,11 +52,11 @@ return nil; } @implementation OFXMLParser -+ xmlParser ++ parser { return [[[self alloc] init] autorelease]; } - init Index: tests/OFXMLParserTests.m ================================================================== --- tests/OFXMLParserTests.m +++ tests/OFXMLParserTests.m @@ -320,11 +320,11 @@ " \n" " \n" ""; size_t j, len; - TEST(@"+[xmlParser]", (parser = [OFXMLParser xmlParser])) + TEST(@"+[xmlParser]", (parser = [OFXMLParser parser])) TEST(@"-[setDelegate:]", R([parser setDelegate: self])) /* Simulate a stream where we only get chunks */ len = strlen(str);