| Summary: | The error "no alternative at 'Â'" arises by using a working template with the correct encoding | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] M2T | Reporter: | tobias Mising name <toh> | ||||
| Component: | Xpand | Assignee: | Karsten Thoms <karsten.thoms> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | karsten.thoms | ||||
| Version: | 1.0.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
tobias Mising name
Created attachment 187222 [details]
a zipped workspace containing one minimal example project with the error
You will find 5 launch configurations there, 4 to execute workflows showing the
problem and one for a junit test:
1. start the mwe workflow file 'workflowError' to get the error
2. start the mwe workflow file 'workflowWorking' to start the working template
3. start the mwe workflow file 'workflowWorkingToo' to start the other working
template
4. start the mwe workflow file 'workflowErrorWorking' to start the template
with the workaround
5. start the junit test to verify that the erroneous tempalte can be parsed
successfully
The input file encoding must be set to make it deterministic, see "Encoding" chapter in Xpand manual. <component class="org.eclipse.xpand2.Generator"> ... <resourceManager class ="org.eclipse.xtend.expression.ResourceManagerDefaultImpl"> <fileEncoding value="UTF-8"/> </resourceManager> Requested via bug 522520. -M. |