It's not a secret anymore!
The moose likes XML and Related Technologies and the fly likes XML4J vs Xerces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML4J vs Xerces" Watch "XML4J vs Xerces" New topic

XML4J vs Xerces

Venkat Raj

Joined: Nov 12, 2001
Posts: 1
Why does IBM has 2 different XML parsers, Xml4j & Xerces? What's the difference between the two?
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
This is what I know -
XML4J is a production parser used by IBM in many of their products. Xerces is a product of Apache Software foundation, an open source community. Xerces undergoes more frequent updates, fixes and patch-releases than XML4J.
Other than this, there may be implementation differences in the way these two parsers are written.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
David Kane
Ranch Hand

Joined: Sep 20, 2001
Posts: 65
I believe that XML4J was originally developer by IBM, and then donated to the Apache project, where it underwent a metamorphasis to become Xerces. There were a number of press releases and stories about it, such as this one.
I believe the current XML4J distribution is a packaging on the Xerces one.
David Kane
Author of Software Architecture: Organizational Principles and Patterns

David Kane<BR> <A HREF="" rel="nofollow"></A> <BR>Author of <A HREF="" TARGET=_blank rel="nofollow">Software Architecture: Organizational Principles and Patterns</A><BR><A HREF="" TARGET=_blank rel="nofollow"></A><BR><A HREF="" TARGET=_blank rel="nofollow"></A>
I agree. Here's the link:
subject: XML4J vs Xerces
It's not a secret anymore!