Menu

xpathvalidation

fabiengb

XPath validation feature

This feature enables to control all the XPath expressions defined in a BP. The goal is to figure out XPath expressions errors before BPM execution in Sterling Integrator.

To use this feature, just run BPUtils against your BP file with the 'x' option :

$ ./run.sh Validation_Sample_BPML.bp x
Loading BP file Validation_Sample_BPML.bp

Processing BP Validation_Sample_BPML.bp
Checking XPath for BP Validation_Sample_BPML.bp

************************
Checking XPath for main layout ...

Checking XPath for node File System Adapter
Checking XPath for node File System Adapter
Invalid XPath expression : concat('/opt/si/install/extract', #error. Error description : javax.xml.transform.TransformerException: A location path was expected, but the following token was encountered:  #error
A location path was expected, but the following token was encountered:  #error~

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.