8 Jul 2001 db   » (Master)

I've recently been importing some of my XML utilities to the JAXP subproject of the GNU ClasspathX project ... good excuse to clean up some things, catch up to some of the updates in the various XML specs, catch up on bugfixing, and so on. License is "GPL with Library Exception".

So this means that Ælfred2 now has JAXP 1.1 support; I confess to being a bit underwhelmed by JAXP, though glad that at last Sun has at last accepted SAX2 (and JDK 1.4 will bundle it). The "gnujaxp.jar" file builds fine out of CVS, and has decent (and conformant!) DOM and SAX support.

The interesting bits are of course the XML Pipeline framework, which I'm cleaning up as I integrate/update it. That's a way to assemble and compose reusable SAX2 processing components ... for example, there's a streaming validator there, and producers of SAX2 events can assemble pipelines that terminate in DOM trees or just write straight XML text.

Most of this works well with GCJ (in GCC 3.0), but there are a few strangenesses. The DOM code doesn't compile yet with GCJ due to an inner class bug, and the exception handling runtime (and likely compiler) has some hard-to-isolate bugs. Oh well; I'm happy that Free Java has a decent compiler now, even if it's not yet ready for mission quality software!

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!