Bill la Forge b.laforge at
Mon Jan 25 22:14:02 GMT 1999

MDSAX 1.0 Beta 1 was released today:

There are now three packages:

    1. com.jxml.mdsax contains filters which can be used independently
        of anything else.

    2. com.jxml.mdsax.context contains the classes needed to define a
        parsing context, and filters which depend on that context.

    3. com.jxml.mdsax.framework contains various factories which
        make up the optional mdsax framework.

As before, all filters are derived from John Cowan's ParserFilter:

The full api for mdsax is available at:

A suite of tests are available at:

These tests exercise the following:

    test0: A trace of SAX document handler events before and after
                the element filter, displaying the XPointer for the element when

    test1: A simple exercise of the document router, showing how PIs
                are queued until the document type is known.

    test2: A minimalist exercise of the context filter.

    test3: A simple exercise of the element router, showing which events
                are routed to specific element filters.

    test4: Rather than simply filtering events, the ContextFilter is used to
                create an application-specific result, in this case a simple count
                of the number of elements found in the document.

This is Open Source Software:

Bill la Forge
JXML, Inc.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list