aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/xml_error.plist
diff options
context:
space:
mode:
authorEdward Barnard2015-09-23 19:24:51 +0100
committerEdward Barnard2015-09-23 19:24:51 +0100
commitb06b6c6631a728d5a82da456c69d0bc3b562436c (patch)
treed9f0f6fc306ff56ccffe7614c3461c3d452a1b00 /tests/data/xml_error.plist
parenta835f3bc2b35baf25bd744d4dd3c70295f2dca74 (diff)
downloadrust-plist-b06b6c6631a728d5a82da456c69d0bc3b562436c.tar.bz2
Handle errors in xml parsing
Diffstat (limited to 'tests/data/xml_error.plist')
-rw-r--r--tests/data/xml_error.plist17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/data/xml_error.plist b/tests/data/xml_error.plist
new file mode 100644
index 0000000..8fe6a96
--- /dev/null
+++ b/tests/data/xml_error.plist
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Author</key>
+ <string>William Shakespeare</string>
+ <key>Lines</key>
+ <array>
+ <string>It is a tale told by an idiot,</string>
+ <string>Full of sound and fury, signifying nothing.</string>
+ </array>
+ <key>Death</key>
+ <integer>1564</integer>
+ <key>Height</key>
+ <real>1.6</real>
+ <key>Data</ke
+ BADNESS \ No newline at end of file