[jdom-interest] streamdom -- middle ground between SAX and DOM

Brian Wolf brianw at knowledgextensions.com
Mon Dec 31 07:12:37 PST 2001


This is a wonderful idea, and if I may suggest
further elaboration, it would be nice to have JDOM
supply a single API, SAX or DOM
invisible to the programmer, but are real-time,
and dynamic decisions made by the parser behind the scenes,
based on system monitoring and resource optimization  scheme

-Brian

----- Original Message -----
From: V Lakshman <lak at vlakshman.com>
To: <jdom-interest at jdom.org>
Sent: Monday, December 31, 2001 11:36 AM
Subject: [jdom-interest] streamdom -- middle ground between SAX and DOM


> I know most of us hate SAX, but what we don't like
> about SAX is the "low-level" of it.  We would prefer
> DOM, but how can we use DOM on large documents
> or streaming data?
>
> Well, one way is to have programmers
> process SAX-like events, except that the event-handling
> callbacks get to process entire elements (complete with
> children and attributes, although of-course, no siblings).
>
> I've written such a package (it's really just one class) --
> called streamdom:
>    http://streamdom.sourceforge.net/    or
>    https://sourceforge.net/projects/streamdom/
> It is currently built on a SAX2 parser and a DOM builder.
> The Java API doc is here:
>   http://streamdom.sourceforge.net/java/api/index.html
>
> Is there interest in a JDOM version that would
> go in jdom-contrib?  If there is, I could commit it in.
>
> thanks
> lakshman
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>
>




More information about the jdom-interest mailing list