summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/tests/009.phpt
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-12-09 20:51:23 +0000
committerRob Richards <rrichards@php.net>2005-12-09 20:51:23 +0000
commit37d1633ff4abcc7913a3403baf8e9aa7de8e962f (patch)
tree12d379a53a2388897e5800dfa0cf040cbe19202f /ext/xmlwriter/tests/009.phpt
parent48050ca09d9dce6bc1a7f3e5ab74e1f010a8a0ff (diff)
downloadphp-git-37d1633ff4abcc7913a3403baf8e9aa7de8e962f.tar.gz
allow NULL prefix to create default namespace
fix tests
Diffstat (limited to 'ext/xmlwriter/tests/009.phpt')
-rw-r--r--ext/xmlwriter/tests/009.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xmlwriter/tests/009.phpt b/ext/xmlwriter/tests/009.phpt
index 2322b7c0ba..9c00fe7b0e 100644
--- a/ext/xmlwriter/tests/009.phpt
+++ b/ext/xmlwriter/tests/009.phpt
@@ -22,11 +22,11 @@ xmlwriter_write_pi($xw, 'php', 'echo "hello world"; ');
xmlwriter_end_element($xw);
xmlwriter_start_element($xw, 'cdata');
xmlwriter_start_cdata($xw);
-xmlwriter_end_element($xw);
xmlwriter_text($xw, '<>&"');
xmlwriter_end_cdata($xw);
xmlwriter_end_element($xw);
xmlwriter_end_element($xw);
+xmlwriter_end_element($xw);
xmlwriter_end_document($xw);
// Force to write and empty the buffer
$output = xmlwriter_flush($xw, true);