Re: RFC: Simple XML Event-Based API for Java

David Megginson (ak117@freenet.carleton.ca)
Wed, 17 Dec 1997 14:05:53 -0500


Tim Bray writes:
> At 09:38 PM 16/12/97 -0500, David Megginson wrote:
> >After careful thought, I am fairly certain that I would be willing =
to
> >accept the following simple event-driven API for =C6lfred. =20
>=20
> I'd be willing to commit to signing up to do this for Lark, given
> the following changes:
>=20
> Oops; and I forgot the IMPORTANT one: I don't see any point in doing=

> this if there isn't also an ultra-simple tree interface supporting
> only Element, Attribute, and Text classes. Because this is what mos=
t
> people will use, especially given that a high proportion of XML
> transmissions will be small flattish documents; why should everyone
> have to build their own tree. -Tim

I see no reason not to use the DOM for this. The Node, Document,
Element, AttributeList, Attribute, and Text classes look easy enough
to use, and people can simply ignore what they do not need.

All the best,

David

--=20
David Megginson ak117@freenet.carleton.ca
Microstar Software Ltd. dmeggins@microstar.com
http://home.sprynet.com/sprynet/dmeggins/