chregu Fri Oct 11 10:03:00 2002 EDT
Modified files:
/php4/ext/domxml/tests 001.phpt
Log:
text and comment nodes do not have children... test was wrong, implementation
is right :)
Index: php4/ext/domxml/tests/001.phpt
diff -u php4/ext/domxml/tests/001.phpt:1.2 php4/ext/domxml/tests/001.phpt:1.3
--- php4/ext/domxml/tests/001.phpt:1.2 Thu Apr 11 13:20:47 2002
+++ php4/ext/domxml/tests/001.phpt Fri Oct 11 10:02:59 2002
@@ -106,7 +106,7 @@
Node Name: #comment
Node Type: 8
-Num Children: 1
+Num Children: 0
Node Content: lsfj
Node Name: chapter
@@ -126,7 +126,7 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
@@ -136,14 +136,14 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
--------- last
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
@@ -160,7 +160,7 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
@@ -170,7 +170,7 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
@@ -193,7 +193,7 @@
--------- children of an attribute
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content: en
--------- Add child to root
@@ -249,7 +249,7 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
@@ -259,7 +259,7 @@
Node Name: #text
Node Type: 3
-Num Children: 1
+Num Children: 0
Node Content:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php