Was thinking.. the namespace prefix (the foo in xmlns:foo="..") is just a convenient XML-specific notation by which a namespace URI can be associated with elements.
So why do we want to expose it to users through Namespace.getPrefix()? Furthermore, Configuration is an interface, but Namespace is a final class. To implement any non-XML Configuration implementation will require hauling along this fully useless (outside the context of XML) Namespace class. So how about making Namespace an interface, with only two methods: String getURI(); boolean equals(Namespace ns); Then have a class XMLNamespace which implements Namespace. Will have a play at prototyping this now. --Jeff -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>