[xml] preserveWhiteSpace bug
- From: Trevor Lowing <Trevor Lowing XML Lowing org>
- To: xml gnome org
- Subject: [xml] preserveWhiteSpace bug
- Date: Thu, 07 Jul 2005 21:45:38 -0400
Hello,
Seems to be a bug with libxml2 2.6.X with handling XML files with Windows
CRLF style linebreaks. The DOM parser reads the linebreaks as empty text
nodes. preserveWhiteSpace is ignored A temporary workaround is to save the file using Unix LF instead of
Windows CRLF linebreaks. The bug has been reported several times on the
PHP buglist but the problem is with the underlying libxml2 library. Code
samples are posted in these bug reports already.
http://bugs.php.net/bug.php?id=31873
http://bugs.php.net/bug.php?id=32033
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]