OK, I'll keep on working it...

-scott




                                                                                       
                                  
                    John Gentilin                                                      
                                  
                    <johnglinux@eyecatch       To:     [EMAIL PROTECTED]        
                                  
                    ing.com>                   cc:     (bcc: Scott Boag/CAM/Lotus)     
                                  
                    Sent by:                   Subject:     Re: [Bug 2925]  - 
Parameter set from DOM Node, broken        
                    [EMAIL PROTECTED]                                               
                                  
                    tching.com                                                         
                                  
                                                                                       
                                  
                                                                                       
                                  
                    08/04/2001 07:40 PM                                                
                                  
                    Please respond to                                                  
                                  
                    xalan-dev                                                          
                                  
                                                                                       
                                  
                                                                                       
                                  




Better but still broken. When the function returns, it does not
cause an error but the returned object tests for false. i.e. The
error checking  is caught in this example code although the
function returns a registered DTM.


         <xsl:variable name="table" select='sql:pquery($db, $q1, $q1type
)'/>

          <!--
           Let's include Error Checking, the error is
actually stored
            in the connection since $table will be either
data or null
          -->

          <xsl:if test="not($table)" >
           <xsl:message>Error in Query</xsl:message>
            <xsl:copy-of select="sql:getError($db)/ext-error" />
          </xsl:if>

John G



[EMAIL PROTECTED] wrote:

> John Gentilin <[EMAIL PROTECTED]> wrote:
> > The extension functions seem to be broken with yesterdays
> > checkout. I am having problems with any extension function
> > that returns a DTM.
>
> Hi John.  Sorry about that.  I just checked in what I hope will be a fix
> for this.  See the commit or
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2925 for details.
>
> We don't have tests for extensions returning a DTM, DTMAxisIterator, or
> DTMIterator, which is how this slipped through.  I'll try to get some
tests
> written for this.
>
> -scott





Reply via email to