Transform XML activity & SaxonB: relative path resolution with xsl:include
book
Article ID: KB0077557
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
5.x
Description
Using xsl:include inside of xslt 2.0 transformation. When using tibco xslt 1.0 engine, this functionality can be achieved using include like below way.* //Resources/XSLT/ *is the project relative path.
Where as while using Saxon-B XSLT 2.0 we face below error:
Error in [Processes/Transform.process/Transform XML] java.lang.IllegalArgumentException: not an error or warning message code: BW-XML-100001
But when we check the relative path, it is considering with respect to designer location i.e C:\BusinessWorks\BW5X\BW513\designer\5.10\xyz then the include will look like below
Specifying absolute path works, but is not really feasible/practical, as on development/test and production environments the deployed files end on different path (on server domain differs, on local machines when tibco designer is used, designer path is used)
Issue/Introduction
Transform XML activity & SaxonB: relative path resolution with xsl:include
Environment
ALL
Resolution
This issue is fixed in TIBCO ActiveMatrix BusinessWorks 5.13.0 HF13. For using xsl:include inside Saxon-B XSLT 2.0 transformation we can use project relative path i.e * //Resources/XSLT/ *.