@@ -23,15 +23,11 @@ /*! * @brief A protocol that needs to be implemented by delegates for * OFXMLElementBuilder. */ -#ifndef OF_XML_ELEMENT_BUILDER_M @protocol OFXMLElementBuilderDelegate -#else -@protocol OFXMLElementBuilderDelegate -#endif /*! * @brief This callback is called when the OFXMLElementBuilder built an element. * * If the OFXMLElementBuilder was used as a delegate for the OFXMLParser since * parsing started, this will return the complete document as an OFXMLElement @@ -78,11 +74,11 @@ * @param prefix The prefix of the close tag * @param ns The namespace of the close tag */ - (void)elementBuilder: (OFXMLElementBuilder*)builder didNotExpectCloseTag: (OFString*)name - withPrefix: (OFString*)prefix + prefix: (OFString*)prefix namespace: (OFString*)ns; /*! * @brief This callback is called when the XML parser for the element builder * found an unknown entity.