XML News from Thursday, April 29, 2004

I have posted the SAX test suite I talked about last week at XML Europe. You should read the paper that describes the suite (and presents the results) first before attempting to run the suite, so you'll understand what's being tested and why. This is primarily intended for developers writing SAX parsers, not for casual users. The framework is fairly rough at this point, and may require my personal help to get running.

The main result of the test is that you should be using Xerces. Xerces isn't perfect, but it is the best SAX parser currently available, and several of the bugs I identified are already fixed in CVS, and should be available with the upcoming 2.7 release.

One surprising result of the test was just how poor the selection of SAX parsers in Java really is. There are only two actively maintained parsers, Xerces and Oracle; maybe three if you count GNU JAXP. However, GNU JAXP has serious bugs that aren't being fixed, and seem unlikely to be fixed in the near future unless a motivated new maintainer is found. Both Oracle and Xerces are heavyweight parsers which support DTD and schema validation, and many other features. They are both quite large. In particular, there is no current reliable small parser that simply parses XML documents without validating, either with or without exterrnal DTD subset support. A lot of people need such a parser, and many people who do are using either Piccolo or an Ælfred derivative. However, my tests made it very obvious that Piccolo and all the Ælfreds are seriously buggy, and should not be relied on. Furthermore, none of these are actively developed at this time, so it's unlikely any of the bugs the tests identified will be fixed. :-(


The Big Faceless Organization has released the Big Faceless Report Generator 1.1.18, a $1200 payware Java application for converting XML documents to PDF. Unlike most similar tools it appears to be based on HTML and CSS rather than XSL Formatting Objects. This is mostly a bug fix release. Java 1.2 or later is required.


IBM's alphaworks has released version 3.1 of its Web Services Tool Kit for Mobile Devices which "provides tools and run-time environments that allow development of applications that use Web Services on small mobile devices, gateway devices, and intelligent controllers. This tool kit's JavaTM Web service run-time environment is supported devices that support the J2ME, WCE, and SMF environments. The C Web service run-time environment is supported on the Palm and Symbian." This release now "includes new IBM Mobile Soap Server and Mobile Device Gateway code" and "provides an implementation of the Device Web Services Framework."