Update of /cvsroot/phpxd/phpXD
In directory usw-pr-cvs1:/tmp/cvs-serv13987
Modified Files:
phpXD.php
Log Message:
Index: phpXD.php
===================================================================
RCS file: /cvsroot/phpxd/phpXD/phpXD.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** phpXD.php 2001/11/27 20:56:40 1.20
--- phpXD.php 2001/11/27 21:29:36 1.21
***************
*** 386,393 ****
*/
function handleCharacterData($parser, $text) {
- if (trim($text) == "") {
- return;
- }
-
if ($this->parseCData) {
if ($this->lastNode->nodeType == CDATA_SECTION_NODE) {
--- 386,389 ----
***************
*** 439,445 ****
function handleDTD($parser, $data) {
$data = trim($data);
- if ($data == "") {
- return;
- }
if (!empty($data)) {
--- 435,438 ----
***************
*** 486,492 ****
function handleDefault($parser, $data) {
$data = trim($data);
- if ($data == "") {
- return;
- }
if (!(strpos($data, "<!--") === false)) {
--- 479,482 ----
|