OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX drivers bug ... or feature !

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Wed, 18 Nov 1998 15:40:50 -0000


>I think there is a little problem with AttributeList implementation within
>some of the SAX ...
>Bug or feature ?
>
Feature. See
http://www.megginson.com/SAX/javadoc/org.xml.sax.AttributeList.html#_top_ I
quote:

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS