OK, this is a different error.  As I said, I anticipated a few more
problems.

Can you send me a stack dump?

-scott




                                                                                       
                                   
                    John Gentilin                                                      
                                   
                    <johnglinux@eyecatch        To:     [EMAIL PROTECTED]       
                                   
                    ing.com>                    cc:     Scott Boag 
<[EMAIL PROTECTED]>                                 
                    Sent by:                    Subject:     Re: Extension Function 
returns                               
                    [EMAIL PROTECTED]                                               
                                   
                    tching.com                                                         
                                   
                                                                                       
                                   
                                                                                       
                                   
                    07/06/2001 07:09 PM                                                
                                   
                    Please respond to                                                  
                                   
                    xalan-dev                                                          
                                   
                                                                                       
                                   
                                                                                       
                                   




Scott,

Different error this time but the same for either type of return.
What code are you looking into ??

The function still gets called, just has a bad return value. Now all the
other
functions i.e. New & Connect work fine. It is just query at this point.

Error;

file:///home/gentijo/jbproject/Xalan/mkay.xsl; Line 24; Column 73;
XSLT Error (javax.xml.transform.TransformerException): Unknown error in
XPath

Regards
John G

[EMAIL PROTECTED] wrote:

> I think I have fixed your problem with the checkin I just did.  Please
give
> it a try.  Frankly, I will not be surprised if there are more problems as
> you are on a bit of a new codepath.
>
> -scott
>
>
>                     Scott Boag
>                                          To:     John Gentilin
<[EMAIL PROTECTED]>
>                     07/05/2001           cc:
[EMAIL PROTECTED], [EMAIL PROTECTED]
>                     09:37 PM             Subject:     Re: Extension
Function returns(Document link: Scott Boag)
>
>
>
> I think this is an easily fixed problem with the extension code.  I'll
look
> into it first thing in the morning.
>
> -scott
>
>
>                     John Gentilin
>                     <johnglinux@eyecatch        To:     Scott Boag
<[EMAIL PROTECTED]>, Xalan Mailing List
>                     ing.com>
<[EMAIL PROTECTED]>
>                     Sent by:                    cc:
>                     [EMAIL PROTECTED]        Subject:     Extension
Function returns
>                     tching.com
>
>
>                     07/05/2001 08:17 PM
>
>
>
> Ok, got my extension function (SQL) basically coded and I am deriving
> all from DTMDefaultBaseIterators. The extension function that actually
> returns data to be processed is either returning a DTM interface (my
> class
> that is derived from DTMDefaultBaseIterator) or DTMAxisIterator from
> myClass.getAxisIterator. Both return values cause the Transformer to
> print
>
> XSLT Error (javax.xml.transform.TransformerException):
> Can not convert #UNKNOWN
> (org.apache.xml.dtm.ref.DTMDefaultBaseIterators$AncestorIterator) to a
> NodeList!
>
> I am digging into the Extension code for a clue, but thought you might
> provide me
> with a quick fix.
>
> Also I am constructing my DTMDeafultbase with just basic null values.
>
>    DTMManager mgr -> null
>    Source source -> null (Only for DOM Wrapper correct ??)
>    int dtmIdentity -> 0
>    DTMWSFilter whiteSpaceFilter -> null for now
>    XMLStringFactory xstringfactory -> null  wasn't sure
>    boolean doIndexing -> true
>
> Is this correct ??
>
> Regards
> JG





Reply via email to