Index: src/OFXMLParser.h ================================================================== --- src/OFXMLParser.h +++ src/OFXMLParser.h @@ -38,14 +38,14 @@ /*! * @brief This callback is called when the XML parser found processing * instructions. * * @param parser The parser which found processing instructions - * @param pi The processing instructions + * @param processingInstructions The processing instructions */ - (void)parser: (OFXMLParser *)parser - foundProcessingInstructions: (OFString *)pi; + foundProcessingInstructions: (OFString *)processingInstructions; /*! * @brief This callback is called when the XML parser found the start of a new * tag. * @@ -144,11 +144,11 @@ OF_XMLPARSER_EXPECT_ATTRIBUTE_EQUAL_SIGN, OF_XMLPARSER_EXPECT_ATTRIBUTE_DELIMITER, OF_XMLPARSER_IN_ATTRIBUTE_VALUE, OF_XMLPARSER_EXPECT_TAG_CLOSE, OF_XMLPARSER_EXPECT_SPACE_OR_TAG_CLOSE, - OF_XMLPARSER_IN_EXCLAMATIONMARK, + OF_XMLPARSER_IN_EXCLAMATION_MARK, OF_XMLPARSER_IN_CDATA_OPENING, OF_XMLPARSER_IN_CDATA, OF_XMLPARSER_IN_COMMENT_OPENING, OF_XMLPARSER_IN_COMMENT_1, OF_XMLPARSER_IN_COMMENT_2, Index: src/OFXMLParser.m ================================================================== --- src/OFXMLParser.m +++ src/OFXMLParser.m @@ -392,11 +392,11 @@ _state = OF_XMLPARSER_IN_CLOSE_TAG_NAME; _acceptProlog = false; break; case '!': _last = _i + 1; - _state = OF_XMLPARSER_IN_EXCLAMATIONMARK; + _state = OF_XMLPARSER_IN_EXCLAMATION_MARK; _acceptProlog = false; break; default: if (_depthLimit > 0 && _previous.count >= _depthLimit) @throw [OFOutOfRangeException exception];