Hello,
I have an issue with an illegal identifier when just specifying the Name attribute of the File element.
My file name contains spaces (" ") that are converted to underscore ("_"), but it also contains dash ("-"), and they are not converted to underscore, so the build fails.
I list all my files in an include file that I use in a foreach preprocessor expression, so I can't pass a valid ID to my files ID.
My code :
<file name="$(var.RSamples)"></file>
And my error :
The File/@Id attribute's value, 'abc_-def.txt', is not a legal identifier. Identifiers may contain ASCII characters A-Z, a-z, digits, underscores (), or periods (.). Every identifier must begin with either a letter or an underscore.
I was wondering if there was something like $(var.foreach.index) which returns the current loop index (something similar to foreach in smarty : http://www.smarty.net/manual/fr/language.function.foreach.php ), which could avoid this problem by creating an unique identifier for each my files.
Thanks
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 15 days (the time period specified by
the administrator of this Tracker).