IBM Security Verify

 View Only

ISAM: XPath 2.0 support

  • 1.  ISAM: XPath 2.0 support

    IBM Champion
    Posted Thu July 16, 2020 02:37 PM

    Hello IBM Security Verify community

    I would like to be able to support xsl snippet like the below, but upper-case() and lower-case() are part of XPath2.0 if I understood correctly. If I upload XSLT file into the appliance with such code, the WRP will fail to restart, and if I remove them the WRP starts properly.

    <xsl:variable name="method-value">
    <xsl:value-of select="upper-case(//HTTPRequest/RequestLine/Method)" />
    </xsl:variable>

    <xsl:variable name="origin-value">
    <xsl:value-of select="lower-case(//HTTPRequest/Headers/Header[@name='origin'])" />
    </xsl:variable>

    I tested those on https://www.freeformatter.com/xsl-transformer.html#ad-output and they work fine.

    Do others have found a need in the past to rely on XPath 2.0 elements ?

    Question for IBM'ers: any intent to support somewhere in time XPath2.0 in the http transformation rule engine ?

    Thanks



    ------------------------------
    Sylvain Gilbert
    ------------------------------