Index: src/OFXMLElement.h ================================================================== --- src/OFXMLElement.h +++ src/OFXMLElement.h @@ -111,11 +111,11 @@ * Parses the string and returns an OFXMLElement for it. * * \param str The string to parse * \return A new autoreleased OFXMLElement with the contents of the string */ -+ elementWithString: (OFString*)str; ++ elementWithXMLString: (OFString*)str; /** * Initializes an already allocated OFXMLElement with the specified element * name. * @@ -193,11 +193,11 @@ * Parses the string and initializes an already allocated OFXMLElement with it. * * \param str The string to parse * \return An initialized OFXMLElement with the contents of the string */ -- initWithString: (OFString*)str; +- initWithXMLString: (OFString*)str; /** * \return The name of the element */ - (OFString*)name; Index: src/OFXMLElement.m ================================================================== --- src/OFXMLElement.m +++ src/OFXMLElement.m @@ -97,13 +97,13 @@ + elementWithComment: (OFString*)comment { return [[[self alloc] initWithComment: comment] autorelease]; } -+ elementWithString: (OFString*)str ++ elementWithXMLString: (OFString*)str { - return [[[self alloc] initWithString: str] autorelease]; + return [[[self alloc] initWithXMLString: str] autorelease]; } - init { Class c = isa; @@ -206,11 +206,11 @@ } return self; } -- initWithString: (OFString*)str +- initWithXMLString: (OFString*)str { OFAutoreleasePool *pool; OFXMLParser *parser; OFXMLElementBuilder *builder; OFXMLElement_OFXMLElementBuilderDelegate *delegate;