#31873 [Opn->Bgs]: DOMDocument->preserveWhiteSpace not working correctly
| From: | rrichards@php.net | Date: | Wed, 09 Feb 2005 11:50:24 +0000 |
| Subject: | #31873 [Opn->Bgs]: DOMDocument->preserveWhiteSpace not working correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73698@lists.php.net to get a copy of this message | ||
ID: 31873
Updated by: rrichards@php.net
Reported By: becicka at aarongroup dot cz
-Status: Open
+Status: Bogus
Bug Type: *XML functions
PHP Version: 5.0.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
libxml bug. reporting it there
Previous Comments:
------------------------------------------------------------------------
[2005-02-09 09:28:20] chregu@php.net
Just tested with the test-script saved in "Win" Format on OS X with
libxml2-2.6.16. Then this bug is reproducable. If it's saved with unix
line endings, it does the job as expected.
------------------------------------------------------------------------
[2005-02-08 12:24:45] becicka at aarongroup dot cz
There are the same situation under windows xp. It doesn't work
properly.
------------------------------------------------------------------------
[2005-02-08 12:00:45] rrichards@php.net
Do you happen to be running windows? - this looks like a libxml bug
using windows cr/lf endings to me but would like to be sure before
bogusing this and pushing it off to the libxml list.
------------------------------------------------------------------------
[2005-02-08 08:53:35] becicka at aarongroup dot cz
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.16
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
------------------------------------------------------------------------
[2005-02-07 19:18:19] amt@php.net
Works fine on my machine, as it returns:
<?xml version="1.0"?>
<a><B><C/></B></a>
What version of libxml2 are you using? 2.6.x? Something earlier?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31873
--
Edit this bug report at http://bugs.php.net/?id=31873&edit=1