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