cvs: pear /XML_Tree Tree.php
| From: | Tomas V.V.Cox | Date: | Thu, 16 May 2002 14:42:22 +0000 |
| Subject: | cvs: pear /XML_Tree Tree.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3862@lists.php.net to get a copy of this message | ||
cox Thu May 16 10:42:22 2002 EDT
Modified files:
/pear/XML_Tree Tree.php
Log:
Do not store spaces from out the tags as the tag content
Index: pear/XML_Tree/Tree.php
diff -u pear/XML_Tree/Tree.php:1.17 pear/XML_Tree/Tree.php:1.18
--- pear/XML_Tree/Tree.php:1.17 Sun Apr 21 08:02:49 2002
+++ pear/XML_Tree/Tree.php Thu May 16 10:42:22 2002
@@ -18,7 +18,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> (tree mapping from xml file)|
// +----------------------------------------------------------------------+
//
-// $Id: Tree.php,v 1.17 2002/04/21 12:02:49 mj Exp $
+// $Id: Tree.php,v 1.18 2002/05/16 14:42:22 cox Exp $
//
require_once 'XML/Parser.php';
@@ -233,6 +233,7 @@
$obj_id = 'obj' . $this->i++;
$this->$obj_id =& new XML_Tree_Node($elem, null, $attribs);
}
+ $this->cdata = null;
$this->store_cdata = true;
return NULL;
}