summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-09 10:49:23 +0100
committerGravatar Jonathan Beck2010-01-14 18:36:26 +0100
commit874942ec1600773622238ae28544908d292ef339 (patch)
tree9c3ef9acba7ecdf64eb888b16617a1a38c9c16ed /test
parent54f1ffb0f4b1d4808db76fe8d35c240c22fea819 (diff)
downloadlibplist-874942ec1600773622238ae28544908d292ef339.tar.gz
libplist-874942ec1600773622238ae28544908d292ef339.tar.bz2
Make sure to convert predefined xml entities in xml output
For string nodes, a set of special characters must be converted to predefined xml entities. This patch adds an entitiy test case for this and makes libplist pass it fine by explicitly adding text nodes.
Diffstat (limited to 'test')
-rw-r--r--test/data/1.plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/data/1.plist b/test/data/1.plist
index dfa27b0..c7135e9 100644
--- a/test/data/1.plist
+++ b/test/data/1.plist
@@ -29,5 +29,7 @@
<key>Some Data</key>
<data>
</data>
+ <key>Some Entities</key>
+ <string>hellow world &amp; others &lt;nodes&gt; are &quot;fun!?&apos;</string>
</dict>
</plist>