This content has been marked as final. Show 4 replies
There is no difference.
I want to know if the SaxParser comes with the JDK or JRE and also if so, from which version the parser is included?
No entity known as 'the SaxParser' exists. But 'a SaxParser' is part of Java.
Depending on what you plan to do you may want to use a 3rd party version. Many Oracle tools (e.g. sql developer) include jar files with sax parsing included.
989314 wrote:Yes (if you mean a sax parser and not a class named SaxParser)
I want to know if the SaxParser comes with the JDK or JRE and also if so,
from which version the parser is included?Starting from Java 5 I believe.
If your IDE doesn't recognize SaxParser its because its misspelled. Its called SAXParser.
Enter the following in a java class and your IDE should suggest what to import (javax.xml.parsers.SAXParser):