Lists Home |
Date Index |
- From: David Brownell <email@example.com>
- To: MikeDacon@aol.com
- Date: Mon, 08 Mar 1999 21:30:34 -0800
> > Interesting suggestion for a big hole in the parts of
> > the Java API set that are more or less "standard" at
> > this poit -- SAX and DOM.
> > One comment though: I've found that it's important to
> > be able to have options controlling how the DOM tree is
> > built. For example, whether to discard ignorable spaces,
> > or do namespace conformance enforcement, or try to get
> > CDATA sections (comments, etc).
> I agree with that. I think all that is possible while still retaining
> a minimalist design philosophy. [deletia]
> That way via an extensible common set of text properties we
> can add properties as the need arises without expanding the API.
I've always liked the idea of filters in the SAX event chain.
As Bill la Forge (and you) noted, that's a fine way to address that
general issue. One can overdo layers, of course, and pay for it
in performance. But filters are a good architectural notion, and
there's been lots of discussion about how to use them well with
SAX and DOM.
That does imply keeping DOM out of the basic parser API, which
I still think is the best way to go. An event generator (say,
a SAX parser, or something walking a DOM tree) can have its
events filtered, and delivered to acomponent building a DOM tree.
> Looking forward to progress on the Java XML API. BTW, Dave,
> are you going to do a "Birds of a Feather" session on XML at this years
> JavaOne? I think that could be valuable.
I may be signed up for more than that this time...
A BOF on XML -- an XML-DEV BOF! -- would be lots of fun.
Some of the folk here have never met in person. I think
there will be lots of interesting applications to talk
about ... and probably some interesting frameworks.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)