What is the difference of them? It is said that JAXP is only a API Specification, JDOM and DOM4J realized it, is it right? And all of them need a XML parser, just like XERCES, is it right? thanks in advance!
Is a set of standard APIs for Java XML parsers. It covers the following areas:
org.w3c.dom
package)org.xml.sax
package)java.xml.stream
)javax.xml.transform
)javax.xml.xpath
)javax.xml.validation
)javax.xml.datatype
)This standard was created by an expert group with representatives from many companies and individuals. As a standard this means there are multiple implementations (Xerces implements JAXP), and it can be included in the JDK.
Xerces
Is an open source Java XML parser that provides DOM and SAX implementations that are compliant with the JAXP standard.
JDOM and DOM4J
Are open source Java XML parsers.