[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Special characters in the log files

From: Roman Krashanitsa
Subject: Re: [Paparazzi-devel] Special characters in the log files
Date: Mon, 31 Aug 2009 10:05:28 -0700

Andreas, try to just cut that part off, find the actual log in that file before parsing.
Thats what I would do anyway.

2009/8/31 Andreas Gaeb <address@hidden>
Hello everybody,

I am trying to parse the log structure xml files (*.log in
$PAPARAZZI_HOME/var/logs/) with Matlab's standard xml parser, which is
basically an instance of the standard Java parser
This parser fails with non-recoverable errors because the characters &,
< and > show up inside attributes like e.g. in the lines

<circle WP="_BASELEG" RADIUS="nav_radius"
UNTIL="NavQdrCloseTo(DegOfRad(baseleg_out_qdr)-10) && 10 >
fabs(estimator_z - WaypointAlt(WP__BASELEG))"/>


<block NAME="Standby" KEY="<Control>a" STRIP_ICON="home.png"

As a workaround it is of course possible to edit the *.log files by
hand, but would it be possible for the future to replace these
characters by &amp; &lt; and &gt;, respectively?

Thanks in advance.


Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]