[ http://nagoya.apache.org/jira/browse/XALANJ-1168?page=history ]

Henry Zongaro updated XALANJ-1168:
----------------------------------

    Priority: Major  (was: Blocker)

> SQL Extension broken for streaming mode
> ---------------------------------------
>
>          Key: XALANJ-1168
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1168
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-extensions-(SQL), Xalan-interpretive
>     Versions: 2.4Dx
>  Environment: Operating System: Other
> Platform: All
>     Reporter: John Gentilin

>
> The iterator used when traversing the result set from the SQL Extension
> unnecessarily sorts the data. In streaming mode, this causes loss of data
> which results in only the last row of data being returned. 
> To workaround this problem only apply-templates to the row-set element and
> provide another level of templates i.e.
> <xsl:apply-templates select="$table/sql/row-set"/>
> instead of
> <xsl:apply-templates select="$table/sql/row-set/row"/>
> Then provide a dummy template
> <xsl:template match="row-set">
> <xsl:apply-templates select="row"/>
> </xsl:template>
> I am also assuming that this will provide a performance enhancement since
> the first select statement only selects one row, then only one row will
> be sorted (in non streaming mode).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to