I’ve been using the getCompositeName() macro in a model, and the following happens:
The compilation goes very fast and the compiled item is shown in green in the E2E Model Compiler View *despite* there being warnings and the following error message:
05.07.2018 15:59:20 net.sf.saxon.trans.XPathException: An empty sequence is not allowed as the value of variable $actionContext
In addition, the repository will not get written.
I tried compilation after trying the following:
– Compile -> Clean all
– closed/reopended project
– restarted magicdraw
– stopped magicdraw, removed $bin and $work Directory, started magicdraw again
Fortunately, I had done only a small change since the previous compile: inserted a decision and wrote on one arm of the control flow a comparision of some value with getCompositeName(). So I changed *only* the getCompositeName() to a literal, and voila, it compiles fine!
This happened with compiler version 6.0.25 and 6.0.27
Thank you for the feedback. This should not happen.
It would help us if you send us a little example model.
Here you are.
See the comment in diagram ‘processServiceImpl’ and replace the literal ‘BridgeQueries’ with getCompositename()
Ohh, by the way: forget the ConfigSearchReplace.xml, use SoapClientURI.xml only
Thank you for the model.
Macros and global built-in functions were not foreseen to be used in conditions.
For E2E BRIDGE 7 we will remove this limitation.