• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 869
  • Last Modified:

Crimson Parser Vs Xerces Parser

Hello Guys

Please share your experiences regarding both parsers as both are from same apache group

Sudhakar Chavali
1 Solution
In regard to your other questions you asked, Xerces is a parser that supports DOM and SAX APIs. JDOM uses Xerces as its parser, and presents the results using the JDOM API.  My personal recommendation is to use either SAX or DOM directly with the parser of your choice, such as Xerces or Crimson (part of JAXP).
Last time I had worked on XML parsing, I found that Crimson was very slow at performing validating parsing of a specific XML input and DTD.  I also saw problems with Xerces 1.4 and 2.0 if I use the Jaxp.  When I used xerces and use the DOMParser class then it parsed very quickly.
I was not on this project for long, thus can't give you more feedback than above.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now