Hi, > As Curt's remarks demonstrate, InputStream is not a common > *denominator* for files, URLs.
Hmm, you would think that given a File and given a URL, File.toURL().openStream() and URL.openStream() would be a nice commons denominator. It's a pattern I've used in the past with good success. However, I never had to deal with the case Curt brought up, of an XML file providing relative URLs. What's the use case here? Can't whoever would call configure(inputStream, baseUri) simply call configure(inputStream) having resolved the relative URI and opened a stream to the absolute one themselves? Do we have to bend over for this? I also don't think it's a big deal to have a stateful Configurator. Despite being only 1.2->1.3 in numbering, this is a big new release, and if there's significant benefit in changing Configurators to stateful, and if we document the new stuff well, I see no problem with it. But that's just me ;) Yoav Shapira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
