Page MenuHomePhabricator

NavigationDataRecorder produces incorrect xml output
Closed, ResolvedPublic

Description

While logging navigation data to the xml-file only the first line is written correctly. The following lines are coded in cvs-style.

Event Timeline

[186dad]: Merge branch 'bug-7862-NavigationDataRecorderXMLproblem'

Merged commits:

2011-04-18 22:48:43 Ingmar Gergel [8e7dfb]
fixed syntax error

NavigationDataRecorder now writes correct xml output again.

XML output is still incorrect.
The output is now plain xml without any cvs lines in it but the each entry is repeatedly added.

This seems to be an error in the for-loop. Actually only two tools exist (tool0 and tool1) but following output is generated:

<ND Time="2464.91" SystemTime="8015701.67" Tool="0"
<ND Time="2464.91" SystemTime="8015701.67" Tool="1"
<ND Time="2492.25" SystemTime="8015729.01" Tool="0"
<ND Time="2492.25" SystemTime="8015729.01" Tool="1"
<ND Time="2492.25" SystemTime="8015729.01" Tool="2"
<ND Time="2492.25" SystemTime="8015729.01" Tool="3"
<ND Time="2498.79" SystemTime="8015735.55" Tool="0"
<ND Time="2498.79" SystemTime="8015735.55" Tool="1"
<ND Time="2498.79" SystemTime="8015735.55" Tool="2"
<ND Time="2498.79" SystemTime="8015735.55" Tool="3"
<ND Time="2498.79" SystemTime="8015735.55" Tool="4"
<ND Time="2498.79" SystemTime="8015735.55" Tool="5"
<ND Time="2505.56" SystemTime="8015742.32" Tool="0"
<ND Time="2505.56" SystemTime="8015742.32" Tool="1"
<ND Time="2505.56" SystemTime="8015742.32" Tool="2"
<ND Time="2505.56" SystemTime="8015742.32" Tool="3"
<ND Time="2505.56" SystemTime="8015742.32" Tool="4"
<ND Time="2505.56" SystemTime="8015742.32" Tool="5"
<ND Time="2505.56" SystemTime="8015742.32" Tool="6"
<ND Time="2505.56" SystemTime="8015742.32" Tool="7"
<ND Time="2512.53" SystemTime="8015749.29" Tool="0"
<ND Time="2512.53" SystemTime="8015749.29" Tool="1"
<ND Time="2512.53" SystemTime="8015749.29" Tool="2"
<ND Time="2512.53" SystemTime="8015749.29" Tool="3"
<ND Time="2512.53" SystemTime="8015749.29" Tool="4"
<ND Time="2512.53" SystemTime="8015749.29" Tool="5"
<ND Time="2512.53" SystemTime="8015749.29" Tool="6"
<ND Time="2512.53" SystemTime="8015749.29" Tool="7"
<ND Time="2512.53" SystemTime="8015749.29" Tool="8"
<ND Time="2512.53" SystemTime="8015749.29" Tool="9"