Crimson Parser Vs Xerces Parser

Hello Guys

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

Sudhakar Chavali
LVL 14
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.