On Sat, Nov 10, 2001 at 10:27:23PM +1100, Jeff Turner wrote: > > Btw, I think DefaultConfiguration is missing two methods: > > public void setNamespace(Namespace ns); > public void setAttribute(Namespace ns, String name, String value); > > Without these, one cannot add namespace-prefixed attributes.
More in the "namespace support isn't integrated" theme, DefaultConfigurationSerializer doesn't create namespace declarations. So if I build a Configuration with: <my-system version="1.3" xmlns:doc="http://myco.com/documentation"> <doc:desc>This is a highly fictitious config file</doc:desc> <widget name="fooWidget" initOrder="1" threadsafe="true"/> </my-system> and then serialize it, I get out: <my-system version="1.3"> <doc:desc>This is a highly fictitious config file</doc:desc> <widget name="fooWidget" threadsafe="true" initOrder="1"/> </my-system> And yes, I'll stop whinging and start fixing as soon as I figure out how it works ;) --Jeff -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>