Re: SAX: towards a solution

Tim Bray (tbray@textuality.com)
Sun, 04 Jan 1998 10:10:51 -0800


At 07:51 AM 03/01/98 -0500, David Megginson wrote:
>We have had an interesting discussion about SAX ("simple API for XML"?
>I cannot remember) the past few weeks, and now it's time to get
>specific.
> startElement (String name, java.util.Dictionary attributes)
> endElement (String name)
> charData (char ch[], int length)

Sign me up with James on the inappropriateness of the Dictionary,
and also as a supporter of his Attribute interface suggestion.

Also, the charData should be (buf, offset, length) for consistency
with Java culture. -Tim