[Phpxd-commits] CVS: phpXD phpXD.php,1.19,1.20
Status: Beta
Brought to you by:
growbal
From: Thomas D. <th...@us...> - 2001-11-27 20:56:45
|
Update of /cvsroot/phpxd/phpXD In directory usw-pr-cvs1:/tmp/cvs-serv2524 Modified Files: phpXD.php Log Message: Little changes... Index: phpXD.php =================================================================== RCS file: /cvsroot/phpxd/phpXD/phpXD.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** phpXD.php 2001/11/27 20:34:29 1.19 --- phpXD.php 2001/11/27 20:56:40 1.20 *************** *** 315,319 **** } else { ! $this->currentNode->appendChildFast($newChild); $this->currentNode =& $newChild; } --- 315,319 ---- } else { ! $this->currentNode->appendChild($newChild); $this->currentNode =& $newChild; } *************** *** 395,399 **** } else { ! $this->lastNode =& $this->currentNode->appendChildFast( $this->document->createCDataSection($text)); } --- 395,399 ---- } else { ! $this->lastNode =& $this->currentNode->appendChild( $this->document->createCDataSection($text)); } *************** *** 406,410 **** if (trim($text) != "") { ! $this->lastNode =& $this->currentNode->appendChildFast( $this->document->createTextNode($text)); } --- 406,410 ---- if (trim($text) != "") { ! $this->lastNode =& $this->currentNode->appendChild( $this->document->createTextNode($text)); } *************** *** 420,428 **** function handleProcessingInstruction($parser, $target, $data) { if (!isset($this->document->documentElement)) { ! $this->document->appendChildFast( $this->document->createProcessingInstruction($target, $data)); } else { ! $this->lastNode =& $this->currentNode->appendChildFast( $this->document->createProcessingInstruction( $target, $data)); --- 420,428 ---- function handleProcessingInstruction($parser, $target, $data) { if (!isset($this->document->documentElement)) { ! $this->document->appendChild( $this->document->createProcessingInstruction($target, $data)); } else { ! $this->lastNode =& $this->currentNode->appendChild( $this->document->createProcessingInstruction( $target, $data)); *************** *** 494,502 **** $data = str_replace("-->", "", $data); if (!isset($this->document->documentElement)) { ! $this->document->appendChildFast( $this->document->createComment($data)); } else { ! $this->lastNode =& $this->currentNode->appendChildFast( $this->document->createComment($data)); } --- 494,502 ---- $data = str_replace("-->", "", $data); if (!isset($this->document->documentElement)) { ! $this->document->appendChild( $this->document->createComment($data)); } else { ! $this->lastNode =& $this->currentNode->appendChild( $this->document->createComment($data)); } |