Kees Jongenburger wrote: > > I don't know. But I may assume that those things would accept InputStreams > Yes, I think so. but that's not the point. I think the point is that mmbase > has no abstraction of the configuration, Just like we have the bridge we > could have the "admin" bridge. just like we don't want SQL all over the place > in the code we don't want xml either!
Yes, we should perhaps accoutn for that possibility. But I do think it is hardly avoidable to have specialized XML-parsing code, which perhaps should talk to such interfaces. I'd say that the XML parsing code should use the ResourceLoader to obtain the XML, whether, or not, it talks to something more generic. So, I think your point may be valid, but I think it may not be very much related to my proposal, unless you are saying that we can actually pass generic java-objects around for any configuration, and that the ResourceLoader could produce such objects (parsing the XML's completely genericly and so on). Such completely generic memory objects are perhaps parsed InputSources (dom Documents?), but I don't think that you hint at that. There may, btw, also be configuration resources which are not XML at all. Michiel -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US
