You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by bharath s <bh...@gmail.com> on 2008/03/12 08:30:01 UTC

Differences

Hi all,

I want to know the differences between xerces and libxml2.


Thanks in advance.

RE: Differences

Posted by Jesse Pelton <js...@PKC.com>.
libxml2 and Xerces-C are very different creatures.  libxml2 is a
C-language library that "tries to implement the specifications in a
relatively strictly compliant way," where "the standards" includes
XPath, XPointer, and XInclude.  It doesn't fully support DOM, SAX, or
XML Schema.  Xerces-C is a C++ library that attempts to faithfully
implement W3C specifications, including DOM, SAX, and XML Schema.

Both libxml2 and Xerces-C serve as the basis for other libraries that
implement features that they leave out.  For instance, gdome2 implements
DOM on top of libxml2, a XQilla implements XQuery and XPath on top of
Xerces-C.

I think you'd be wise to determine your needs and check how each library
meets or fails to meet those needs.

-----Original Message-----
From: bharath s [mailto:bharaths1987@gmail.com] 
Sent: Wednesday, March 12, 2008 3:30 AM
To: c-users@xerces.apache.org
Subject: Differences

Hi all,

I want to know the differences between xerces and libxml2.


Thanks in advance.