utf8: don't allow NUL in decoded strings.
[ccan] / ccan / ttxml / test / test.xml2
index b87c39eac087d18f61cbaa624412a3c40becb0f1..1c93cdc354b5b075216c9a78e8a6e98f691cf749 100644 (file)
@@ -1,9 +1 @@
-<xmlthisisaverylongtagnameIhopeitmesseswithyourstuff>\r
-       foobar\r
-       <one foobar barfoo="Hello \"World\"!" foo=bar>\r
-               <two/>\r
-       \r
-       </one>\r
-       <one></one>\r
-       <one></one>\r
-</xml>\r
+<xml/><one barfoo3></one></xml>