Layer7 API Management

  • 1.  Unable to access saxcon function

    Posted Oct 10, 2017 08:15 AM

    Hi Community,

     

    I have tried to access saxcon function adjust-to-civil-time in Apply XSL Transformation assertion in API GW by taking version as 2.0 then it is giving error as below.

     

    Fatal: Cannot find a matching 2-argument function named {http://saxon.sf.net/}adjust-to-civil-time( (http://saxon.sf.net/}adjust-to-civil-time%28)). External function calls have been disabled 

     

    Kindly help me on this how can I access function in API GW.

     

    Regards,

    Suneel



  • 2.  Re: Unable to access saxcon function
    Best Answer

    Broadcom Employee
    Posted Oct 11, 2017 12:18 PM

    Suneel,

     

    We disable many of the XSLT extended functions in our assertion and there is not a way to enable them. Our set context variable assertion allows for modification of date/time with various time zone offset.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 3.  Re: Unable to access saxcon function

    Posted Oct 13, 2017 07:34 AM

    Hi Stephen,

     

    Thank you for update.

     

    Regards,

    Suneel



  • 4.  Re: Unable to access saxcon function

    Posted Aug 02, 2018 02:41 PM

    Stephen,

     

    Is there documentation on what (if any) external functions are NOT disabled?  I'm trying to hash values via XSLT using {http://expath.org/ns/crypto}hmac()  and I'm experiencing the same error.  I've found an implementation in pure XSLT, but it also fails with the same error.

     

    https://www.getsymphony.com/download/xslt-utilities/source-code/105477/