Community
Participate
Working Groups
Build Identifier: In an *.xpt file, one can enter arbitrary text between DEFINE statements, or between IMPORT and DEFINE statements. The text is highlighted in blue. I think this should raise an error and only be allowed inside REM and ENDREM tags. Example: <<IMPORT my::Model>> arbitrary text <<DEFINE main FOR MyModelEle>> <<ENDDEFINE>> documentantion and text outside of rem section <<DEFINE main FOR MyOtherEle>> <<ENDDEFINE>> Reproducible: Always
I don't consider this as a problem. The text is just ignored.
True, but here's a related case: When the text is at the very beginning of the file, I get (for instance) the following error when executing the template, but no error at development time: Problems running workflow workflow.MyDslGenerator: no viable alternative at input 'MyArbitraryText' on line 1
This is a batch close of open M2T Xpand bugs. It is not planned work on this component in the foreseeable future. If you think this issue needs to be solved and you plan to contribute a fix then feel free to reopen it.