Per Kreipke wrote: > > > > > Hmm, no - the Nodes itself have to be copied before, so the application > > can not accidentally change the nodes. > > Ah, interesting, I had actually noticed that they were 'live' and was > thinking of using that fact. Clearly a no-no :-) > > You mean: nodes have to be cloned to be returned in the list. > Yes.
> > > If not, I just might send that patch ;-) > > > > Great! > > Time permitting ;-) > I know this one... > > In fact, you don't have to distinguish - it makes no difference > > when using the context. > > Sure, I understood that, the reason I'm asking is to determine whether or > not I need to do the NodeList work discussed above. E.g. if I don't need > anything from context ABC and XYZ and those are the only two that use > SessionContextImpl (which doesn't return NodeLists) then I may not bother > doing the work discussed above. > Ok - the contexts you create yourself have the full support, so you can get a NodeList from them - all others maintained by the framework are somewhere limited. Carsten --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>