Crimson Parser Vs Xerces Parser

Posted on 2004-11-02
Last Modified: 2013-11-23
Hello Guys

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

Sudhakar Chavali
Question by:sudhakar_koundinya
    1 Comment
    LVL 1

    Accepted 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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    The viewer will learn how to implement Singleton Design Pattern in Java.

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now