Re: YAXPAPI (Yet Another XML Parser API)- an XDEV proposal

Tim Bray (tbray@textuality.com)
Sat, 13 Dec 1997 14:47:31 -0800


At 02:00 PM 13/12/97 -0800, Don Park wrote:
>IMHO, it would be major mistake to combine XML parser client API and service
>provider API. I would much rather see something like Swing's TreeModel
>interface used as XML parser service provider API with opaque objects.

Hmm, your proposal is coherent, but why is it better? It's certainly a
bit more complex than what I proposed, and I'd need to see evidence that
my proposal fails to meet the needs of the basic application programmer.

One of the things I did with Lark was hook it up to the Swing Tree Renderer/
JTree package, got a nice little XML document tree-walker, even works with
Unicode fonts; I only needed calls like the ones I outlined and it was
no big deal. - Tim