IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ISAM: XPath 2.0 support

    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
    ------------------------------