You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Sc...@lotus.com on 2001/08/01 15:14:17 UTC

Re: SQL Extensions & Streaming Mode

Just wanted to let you know I haven't forgotten about this.  I'm still
trying to decide what to do.

(The problem is that the variable could be a node list returned from an
extension that is out of document order, or with nodes on different levels
which would also require a sorted iterator.  I can't really discover this
fact during processing [and then switch to a sorted cache] because that
would screw up indexing.  So I really need some way to ask the iterator
returned by the function or variable, "are you going to return nodes at a
single level in document order?".)

-scott




                                                                                                                   
                    Scott Boag                                                                                     
                                         To:     xalan-dev@xml.apache.org                                          
                    07/31/2001           cc:                                                                       
                    02:20 PM             Subject:     Re: SQL Extensions & Streaming Mode(Document link: Scott     
                                         Boag)                                                                     
                                                                                                                   



Ah, a filter expression.  Make sense.  Give me a day to try and figure out
what to do about this.

-scott




                                                                                                                          
                    gentijo@ca-ns1.eyeca                                                                                  
                    tching.com                  To:     xalan-dev@xml.apache.org                                          
                                                cc:     (bcc: Scott Boag/CAM/Lotus)                                       
                    07/31/2001 12:19 PM         Subject:     Re: SQL Extensions & Streaming Mode                          
                    Please respond to                                                                                     
                    xalan-dev                                                                                             
                                                                                                                          
                                                                                                                          




Scott,

Its both the standard MKay.xsl file and any of the following

<xsl>copy-of  select="$table" />
<xsl>copy-of  select="$table/row-set/row" />
<xsl>copy-of  select="$table/column-header" />

I am about to check in a new version that implements error
handling today but yesterday's check in will produce the error
too.

Regards
John G

Scott_Boag@lotus.com wrote:

> Can you give me the exact XPaths that WalkingInteratorSorted is being
> created for?  This may be a simple bug that can easily be fixed.
>
> -scott
>
>
>                     John Gentilin
>                     <jgentilin@sma        To:
xalan-dev@xml.apache.org
>                     rt911.com>            cc:     Scott_Boag@lotus.com
>                                           Subject:     Re: SQL Extensions
& Streaming Mode
>                     07/30/2001
>                     04:15 PM
>
>
>
> Scott,
>
> What is the best way to determine that a WalkingInteratorSorted
> has been called and what forces that to be called. Both the <xsl:for />
> and an <xsl:copy-of /> both exercise this behavior when I would not
> expect either to do so.
>
> If there is a WIS present, should we just turn off streaming mode ??
>
> How limited is the set of xsl to effectively use Streaming mode ??
>
> Knowledge of when a WIS or other multi traversing iterators are used
> may prove to be very beneficial when trying to achieve high performance.
>
> Thanks
> John G
>
> Scott_Boag@lotus.com wrote:
>
> > > Now the problem is, the method WalkingIteratorSorted#setRoot actually
> >
> > Well, the whole idea behind a streaming stylesheet is that a
> > WalkingIteratorSorted should never be called.  Unfortunately, sometimes
a
> > WalkingIteratorSorted is created when it shouldn't be.
> >
> > > Is there another place where I should be regulating access to the
> > > ResultSet
> >
> > Probably the thing to do is, if streaming mode is on, check the
> stylesheet
> > to make sure no WalkingIteratorSorteds are present???
> >
> > -scott
>
> --
>
> --------------------------------------
> John Gentilin
> SMART911
> 18314 Carlwyn Drive
> Castro Valley CA 94546
>
>     Contact Info
> jgentilin@smart911.com
> Phone 1-510-881-4821
> --------------------------------------
>
> (See attached file: jgentilin.vcf)