xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Attribute.setValue should disallow null
- From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Attribute.setValue should disallow null
- Date: Thu, 22 Dec 2005 20:08:28 -0800
I think Attribute.setValue(Type) should throw an excecption if the argument is null. Right now it doesn't. A null type isn't meaningful given that there's also Attribute.Type.UNDECLARED. Also getType ().getName() or similar would fail.
Wolfgang.
- [XOM-interest] Attribute.setValue should disallow null, Wolfgang Hoschek, 12/22/2005
Archive powered by MHonArc 2.6.24.