Strip invalid XML chars when writing databases.

These characters are unprintable or just plain invalid.
QXmlStreamReader throws and error when reading XML documents with such chars.

Closes #392
This commit is contained in:
Felix Geyer 2016-01-24 17:20:16 +01:00
parent 5e6b17aba4
commit 2d741afe3e
4 changed files with 52 additions and 2 deletions

View file

@ -42,6 +42,7 @@ private Q_SLOTS:
void testBroken();
void testBroken_data();
void testEmptyUuids();
void testInvalidXmlChars();
void cleanupTestCase();
private: