[XML-SIG] Expat and layering (was: Divorcing SAX2 and DOM)
Greg Stein
gstein@lyra.org
Thu, 16 Mar 2000 01:50:54 -0800 (PST)
On Tue, 14 Mar 2000, Paul Prescod wrote:
>...
> In many cases parsers could support both the high level and low level
> APIs directly and in others the high level API could be layered on top
> of the low level one with a standard adapter.
>
> In both Perl and Python there will be a particular parser that is
> considered "standard" -- Expat. It makes sense to hook up EventDOM (or
> whatever it is called) and Expat directly.
I'm not sure if it is being considered, but anything beyond a small shim
over Expat would be Bothersome(tm). SAX drivers, DOMs, etc "should" be in
layers over the top of that.
As Paul states, performance is a big issue, and I'd like to see as direct
access to Expat as possible.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/