Rob Conde wrote:
Hi David (or anyone else with something to add),
Checking out the xerces 3 release you mentioned, I now see that xerces has at least some XPath support. Can you explain how this relates to/differs from Xalan? Are the implementations redundant? Complimentary? Tradeoffs?
Are you referring to the support needed for XML Schema validation? If so, then it's quite limited. There were also some updates for XQilla, related to the DOM Level 3 XPath, which Xerces-C does not implement itself.

Xalan-C provides a full implementation of XPath 1.0, including the full function library. Xerces-C itself does not implement any of the function library.

If you're using the Xerces-C DOM, you might consider using XQilla if you only need XPath. If you need XSLT and XPath, Xalan-C's source tree implementation is far more compact than the Xerces-C DOM, because it's not mutable.

If you need the mutabily of the Xerces-C DOM, you can use Xalan-C's wrappers for it, but there are performance penalties. Also, there are differences between the DOM data model and the XPath data model which can lead to non-conforming behavior.

Dave

Reply via email to