Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Laurent Bihanic <laurent.bihanic AT atosorigin.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Are the Attributes and Namespaces classes necessary?
  • Date: Wed, 25 Sep 2002 11:33:29 -0400

At 5:20 PM +0200 9/25/02, Laurent Bihanic wrote:


I don't understand: If you're thinking about replacing Attributes and Namespaces by NodeList in the future, it makes no sense to remove them and the corresponding methods in Element to add them later.
Unless you plan a 1.0 release without NodeList and wish to avoid letting methods that will suffer incompatible changes in the next releases.

No, it's just that if a client programmer does need to keep a snapshot of Attributes around, they could stuff them in a NodeList. I'm not planning on using this as part of the Element API.
--

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+




Archive powered by MHonArc 2.6.24.

Top of Page