#41800 [Opn->Fbk]: XMLWriters - invalid XML output
| From: | tony2001@php.net | Date: | Mon, 25 Jun 2007 14:26:18 +0000 |
| Subject: | #41800 [Opn->Fbk]: XMLWriters - invalid XML output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114160@lists.php.net to get a copy of this message | ||
ID: 41800
Updated by: tony2001@php.net
Reported By: a dot anpilogov at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: *XML functions
Operating System: FreeBSD
PHP Version: 5.2.3
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-06-25 13:08:10] a dot anpilogov at gmail dot com
Description:
------------
It is possible to create invalid XML file using XMLwriter. In my case,
the first symbol of Unicode text was 00 13, and XMLWriter just put it
out, so I had to call preg_replace('/^.{1}/us', '', $str) to make valid
UTF-8 string, than pass it to XMLWriter.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41800&edit=1