While I don't have the information to give you a complete picture, I can
point out to you that there are only 3 parsers that I'm aware of that
support enough of XML Schema validation to be useful:

Xerces, Oracle's XDK, and XML Validate (from Extensibility).

I have no direct experience with XML Validate except to say that they
currently only supports SAX events, but a DOM adapter is a future plan.

Xerces seems to be the best for following the W3C CR and with the latest dev
builds, the PR documents. However, Xerces is lacking some vital performance
features (schema caching), so it isn't going to work for every project. In
our particular case, we also noticed that the time needed to perform
validation seemed to increase non-linearly.

Oracle has the performance that Xerces is currently lacking, but Oracle
doesn't always conform to the W3C documents. One major failing with the
current beta is that it can't handle the following situation:
Schema A
Schema B includes Schema A
Schema C includes Schema A and Schema B
Validation against Schema C will fail because Oracle thinks elements in
schema's B and A have been doubly-defined. This is a VERY non-obvious bug,
because the error messages reported lead one to believe that it is a
namespace issue. We actually faced this problem until we slapped in Xerces,
and everything began working.

Hope this helps in some small way... I realize it doesn't address JDOM or
Crimson at all, but I have no experience with them (I was under the
impression that Crimson was being folded into Xerces).

SJG

-----Original Message-----
From: Ismail Nalwala [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 8:43 AM
To: [EMAIL PROTECTED]
Subject: parsers


I am looking for a reasonable way to compare XML parsers based on
performance,
stability and functionality(e.g. XML schema validation).  The candidates
that I
am interested in are JDOM, xerces and crimson.    Any help or information in
putting together a test framework or reference to any existing comparisons
would
be really useful.
thanks
Ismail



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to