On 22.May.2002 -- 10:34 AM, neil wrote: > On 22 May 2002 Christian Haul wrote: > OK. I didn't spot that your change depends on updates to other files too. > Picky minor point: Although I don't like the semantics of JDBCs > getMoreResults() > I like even less having different semantics for the same method name in > EsqlQuery.
Good point. OTOH I consider this method internal. > Thats nice, but not relevant to the Sun doco that I quoted. I'll rephrase > it: fetching OUT > parameters should be done after processing all returned results. > > >From esql.xsl 1.24: > <xsl:if test="esql:call"> > // call results > <xsp:content> > <xsl:apply-templates select="esql:call-results"/> > </xsp:content> > </xsl:if> > > <xsl:call-template name="do-results"/> > > My understanding is that fetching OUT parameters is done within > esql:call-results > and processing returned results is done by esql:do-results. If so it is done > the > wrong way around. OK, changed. > > I settled for Torstens solution without @index. Both requirements > (different / > > same esql:results) are difficult to provide. Please suggest a syntax for > that. > Some possibilities are to reuse the last one or to add a 'default' attribute > or some such. > But I wouldn't bother unless there is some consensus that its a good idea. I'm undecided on this one. I fear both solutions are difficult to work with. But as I hardly have the requirement to process several results, I have no strong opinion. > > So, could you please check with the current code whether it does what it > should? > I'm trying to get minimum modifications to cocoon-2.0.2 to do what I need. > I can't just switch from a stable release to the latest CVS snapshot (boring > I know). > Do you think I should try the latest esql.xsl, EsqlQuery.java & > EsqlHelper.java > over cocoon-2.0.2 or do you know of other updates that these depend on > (those are the only files I had to update for my patch). I believe that's it. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>