On Sun, 11 Nov 2001 16:46, Jeff Turner wrote: > 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()?
I have a use case - not valid XML usage though ;) Basically in Ant2 we were talking about basing decisions around namespace prefix (but completely ignoring the URI part). Not sure if this is a good idea as such ... ;) > 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. Not sure what you mean. Can you qualify? What case would there be where you would want to extend Namespace ? -- Cheers, Pete "The perfect way is only difficult for those who pick and choose. Do not like, do not dislike; all will then be clear. Make a hairbreadth difference and heaven and earth are set apart; if you want the truth to stand clear before you, never be for or against." - Bruce Lee -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>