[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: Steven Wawryk
Subject: Re: [Paparazzi-devel] Special characters in the log files
Date: Tue, 01 Sep 2009 10:49:37 +0930
User-agent: Thunderbird (X11/20090817)

Yeh, there don't seem to be many xml tools that parse these because they're not "well formed". Personally I try to use the LessThan(), And(), Or(), etc macros rather than <, >=, &&, ||, etc for this reason.

Andreas Gaeb wrote:
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]