The Javadoc for DefaultHandler methods startElement() and endElement() has incorrect parameter detail lists (it has for several versions now). The parameters listed in detail do not match (in name or number) the parameters listed in the documented method declaration. The same is true of SAXParser.