LSB-Futures Tracker - xml2
Current status of xml2 in the LSB Futures process
Disclaimer
Abstract libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform). XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle brackets. HTML is the most well-known markup language. Though the library is written in C a variety of language bindings make it available in other environments. Libxml2 is known to be very portable, the library should build and work without serious troubles on a variety of systems (Linux, Unix, Windows, CygWin, MacOS, MacOS X, RISC Os, OS/2, VMS, QNX, MVS, ...)
Version $Revision: 1.19 $
Generated $Date: 2005/09/29 10:22:06 $
Phase 1 - Identification
Status Active
Group XML
Number #006
Assigned 2002-04-09
Demand Yes
libxml2 has good demand; it is used by various popular open source application e.g. Evolution, Kino, Dia, Gstreamer, Gnumeric, Inkscape, Anjuta, Koffice, etc. Its also a requirement for PHP5 and included in other OS e.g. Solaris and MacOS X.
License Yes
Licenses - MIT License
Bestpractice Yes
xml2 is widely used implementation of various existing W3C standards related to markup languages.
  1. libxml2 seems more popular than libexpat. 312,000 vs. 26,500 web pages.
  2. libxml2 has more active developers. 17 vs. 7.
  3. libxml2 conforms to a lot of W3C standards.
  4. libxml2 seems to have a wider scope for future expansion e.g. xslt, XPointet etc.
  5. Both are platform-independent, but libxml2 claims a wide range of operating systems.
  6. libxml2 seems to have better press, from google'd articles.
  7. libxml2 is inbuilt on a standard Mac OS X 10.3 install, libexpat is only available on the X11 option of 10.3.

Ref. https://mailman.research.att.com/pipermail/graphviz-interest/2004q2/001274.html

Stable Yes
ABI is stable since 2003, recently API addition in 2.6.22.
Depends Yes
  • libc6 - LSB 1.0
Phase 2 - Investigation
Rationale
Upstream Yes
Upstream location
Distros Yes
There are no known problems between package maintainers and upstream providers. Most distro ship libxml2 as part of OS release, even Solaris and MacOS X includes this library.
Versions Yes

Most distros are shipping with 2.6 compatible versions of xml2. Version supported by distributions:

  • upstream - 2.6.22
  • Debian (unstable) - 2.6.22
  • Fedora Core 4.0 - 2.6.20
  • Suse 9.3Pro - 2.6.17
  • Ubuntu 5.04 - 2.6.17
  • Mandriva 10.2 - 2.6.17
  • RHEL 4 - 2.6.16
  • Debian (stable) - 2.6.16
  • NLD9 SP2 - 2.6.7
  • RedFlag4.1 SP2 RC1 - 2.6.6
  • Neoshine 2.0.2 build12 - 2.6.6
Patches Maybe
These are common in any software module. There are no known outstanding vendor patches.
I18n
Resources Yes
LSB Engineers are actively working on including xml2 library into XML module.
Phase 3 - Implementation
Db
Spec
Test Yes
libxml2 has couple of different test suite available. One of them is XML2 regression test suite available at http://www.xmlsoft.com. The other one is the OASIS XML test suite. "As of release 2.4.16, libxml2 passes all 1800+ tests" This appears to now be a W3C test suite, see http://www.w3.org/XML/Test. Investigating whether we can use/wrap this test suite.
Devel
Sample
Appbat
Notes
Return to main candidate tracker page
Last generated on Thu Sep 29 10:17:37 2005 GMT.