[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Special characters in the log files
From: |
Andreas Gaeb |
Subject: |
[Paparazzi-devel] Special characters in the log files |
Date: |
Mon, 31 Aug 2009 15:35:07 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
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
javax.xml.parsers.DocumentBuilderFactory.
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))"/>
or
<block NAME="Standby" KEY="<Control>a" STRIP_ICON="home.png"
STRIP_BUTTON="Standby">
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 & < and >, respectively?
Thanks in advance.
Regards,
Andreas
- [Paparazzi-devel] Special characters in the log files,
Andreas Gaeb <=