Opened 12 years ago
Closed 7 years ago
#2058 closed defect (worksforme)
Error: failed to read the XML file eventTests.sample2_info.xml
Reported by: | Lennart Ochel | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Run-time | Version: | trunk |
Keywords: | Cc: | Martin Sjölund, Willi Braun, Jens Frenkel |
Description
I get following assert for various simulations - but just if I also pass -lv=LOG_STATS:
assert | assert | simulation/simulation_info_xml.c: Error: failed to read the XML file eventTests.sample2_info.xml: not well-formed (invalid token) at line 21
This is the specified line
<info file="<interactive>" lineStart="5" lineEnd="5" colStart="5" colEnd="14"/>
Change History (12)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
new assertion:
assert | assert | simulation/simulation_info_xml.c: Info XML eventTests.sample2_info.xml got equation with index 5, expected 6
comment:3 by , 12 years ago
Then fix the ordering :) BackEnd/SimCodeUtil.mo or if you can tell from the xml which SES_XXX generated children in the wrong order, fix SimCodeDump.tpl
comment:5 by , 10 years ago
Milestone: | 1.9.1 → 1.9.2 |
---|
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:6 by , 10 years ago
Milestone: | 1.9.2 → 1.9.3 |
---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:11 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:12 by , 7 years ago
Milestone: | 1.12.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This was fixed some time ago when we switched over to json instead of xml for the info-file...
Try the following patch:
Compiler/Template/SimCodeDump.tpl
info.fileName%>" lineStart="<%info.lineNumberStart%>" lineEnd="<%info.lineNumberEnd%>" colStart="<%info.columnNumberStart%>" colEnd="<%info.columnNumberEnd%>"/>'