Supported XPath Features in WSO2 ESB 4.8.1

The following XPath functions are not supported in WSO2 ESB 4.8.1:

  • escape-html-uri ()
  • IRI-to-URI ()
  • encode-for-uri ()

Does anyone know which XPath features are supported and what is not supported in WSO2 ESB 4.8.1?

+4
source share
2 answers

As far as I can tell from JavaDocs , the synapse XPath implementation is built on Jaxen, which is only XPath version 1.0. Therefore, none of these functions will be supported, you will have only a very limited library of XPath 1.0 functions, plus a special extension get-propertycorresponding to the synapse.

+2

XPath 2.0 WSO2 ESB 4.5.0 . , .

  • $ESB_HOME/repository/conf/synapse.properties
  • ,

    synapse.xpath.dom.failover.enabled=true

-, syn.

.

<property expression="syn:get-property('myProperty')" name="getMyProperty" scope="default" type="STRING"/>
+8

Source: https://habr.com/ru/post/1538710/


All Articles