diff options
author | Felix Geyer <debfx@fobos.de> | 2014-12-01 23:52:51 +0300 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2014-12-01 23:52:51 +0300 |
commit | 71d39865b3a134d67675693ffe400b267cf5d15d (patch) | |
tree | 114195cb9a9a3ed6d4efe13fcc7feffe5578da88 /tests/data/BrokenDeletedObjects.xml | |
parent | 226c061c01b708023a1dcabaf4530607afa49599 (diff) |
Introduce a strict mode in KeePass2XmlReader.
Many errors are now ignored when not in strict mode so we can still parse
files that have been written by broken/incomplete implementations.
Diffstat (limited to 'tests/data/BrokenDeletedObjects.xml')
-rw-r--r-- | tests/data/BrokenDeletedObjects.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/data/BrokenDeletedObjects.xml b/tests/data/BrokenDeletedObjects.xml new file mode 100644 index 000000000..89506aa62 --- /dev/null +++ b/tests/data/BrokenDeletedObjects.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<KeePassFile> + <Root> + <Group> + <UUID>lmU+9n0aeESKZvcEze+bRg==</UUID> + <Name>Test</Name> + <Entry> + <UUID>AaUYVdXsI02h4T1RiAlgtg==</UUID> + <String> + <Key>Title</Key> + <Value>Sample Entry 1</Value> + </String> + </Entry> + </Group> + <DeletedObjects> + <DeletedObject> + <UUID/> + <DeletionTime>2010-08-25T16:14:12Z</DeletionTime> + </DeletedObject> + <DeletedObject/> + <DeletedObject> + <UUID>5K/bzWCSmkCv5OZxYl4N/w==</UUID> + <DeletionTime/> + </DeletedObject> + </DeletedObjects> + </Root> +</KeePassFile> |