SAX drivers bug ... or feature !

Michael Kay M.H.Kay at
Wed Nov 18 16:01:38 GMT 1998

>I think there is a little problem with AttributeList implementation within
>some of the SAX ...
>Bug or feature ?
Feature. See I

The instance [of AttributeList] provided will return valid results only
during the scope of the startElement invocation (to save it for future use,
the application must make a copy: the AttributeListImpl helper class
provides a convenient constructor for doing so).

This statement should probably be in the specification of the startElement()
method rather than the AttributeList class, so you can be excused for
missing it, but it's there.

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list