> If your worried about the performance of the parser, just setting
 > the attributeList to null would be faster than doing the
 > AttributeListImpl::clear() which would cause a removeAllElement()
 > on each of the underlying member vectors.  If your cranking away
 > with the parser, chances are the low priority gc task wouldn't be
 > fired while your doing this, unless you hit your memory limit.
You're confusing AttributeListImpl with AttributeList -- AttributeList
is an interface, not a class.  While AttributeListImpl is available
for those who want it (such as a client program that needs to copy a
few attribute lists), most SAX drivers provide a more efficient
implementation, which is often an adapter of the parser's own, native
interface.
All the best,
David
-- David Megginson david@megginson.com http://www.megginson.com/