Using External Function Libraries

Using External Function Libraries

Bild des Benutzers Jeff Martin

I am trying to use this processor or the XSL Transformation Run Command in the Soa Expressway Services Designer to quickly run an xsl against some test data as I develop the XSL.I use external function libraries, currently includingxmlns:soae-xf="http://www.intel.com/soae/xpath/"The XSL runs fine when I run the BPEL in the services designer, but trying to run it in as just the XSL Transformation gives me:Unable to resolve call to function 'http://www.intel.com/soae/xpath/:getTime'.The XSLT 2.0 Processor gives me a similar error at the commandline:XSLT Exception at file ""[line 8]XPST0017: Function with the name and argument count is not found: http://www.intel.com/soae/xpath/:get-time @:8:0How can I make either this processor or the services designer load the external libraries it needs to run the XSLT the way the BPEL runner does it?Thanks,Jeff

4 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Russell Davoli (Intel)

Hi Jeff,

Thanks for your interest in our XSLT processor. The command line XSLT 2.0 processor does not have the ability to load an external function library. I will check on the specifics of the SOAE processor.

Thanks,

Russell

Bild des Benutzers Jeff Martin

i found that i can run the xslt in the services designer with some of the exslt.org functoins but not the soae-xf functions. exslt.org shows which of the functions are supported by XALAN-J which is the default processor in the designer. the date:add function is currently giving me problems. its not returning anything in the workflow runner and is not supported by XALAN-J.

Bild des Benutzers Russell Davoli (Intel)

Hi Jeff,

You may have found a solution by now, but I wanted to fill in some details in case they may be useful.

The supported set of extension functions in our processors is different for 1.0 and 2.0, and in the 1.0 case, the set is different between the standalone engine in Service Designer and the SOA Expressway runtime. You must execute your stylesheet within the workflow runner to use the full set of extension of functions.

In Service Designer, under the Help menu, select Extension Functions Reference. This is the list of extension functions available to users withXSLT 1.0. None of these functions can be currently be called froman XSLT2.0stylesheet. Functions marked xsl only (search for functions available only in xsl) are also available with standalone execution ofXSLT1.0. For example, char-replace().

I hope this helps,

Russell

Melden Sie sich an, um einen Kommentar zu hinterlassen.