diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-09-02 09:05:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-09-03 09:30:34 -0700 |
commit | 5eda1c0e39b7c5e4e68ec68596cb023e37503ba7 (patch) | |
tree | f5e445464c5a01f4423dcb45ca9f6182c29278fc /dives/TestDiveDivingLog5.08allmetric.xml | |
parent | 836111da982a6580e314d8297c47ad96be5065a2 (diff) | |
download | subsurface-5eda1c0e39b7c5e4e68ec68596cb023e37503ba7.tar.gz |
parser: XML_PARSE_RECOVER to xmlReadMemory()
Due to changes in the handling of sensor-ids, invalid XMLs were
generated. In particular, these contained duplicate attributes
in the sample tags.
Even though these files shouldn't exist, let's try to parse
them anyway. Some data will be lost, but that's better than
not opening the file.
libxml2 can be told to try to recover from such petty(?) errors
by passing the XML_PARSE_RECOVER flag.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives/TestDiveDivingLog5.08allmetric.xml')
0 files changed, 0 insertions, 0 deletions