]> granicus.if.org Git - php/commitdiff
text and comment nodes do not have children... test was wrong, implementation
authorChristian Stocker <chregu@php.net>
Fri, 11 Oct 2002 14:02:59 +0000 (14:02 +0000)
committerChristian Stocker <chregu@php.net>
Fri, 11 Oct 2002 14:02:59 +0000 (14:02 +0000)
is right :)

ext/domxml/tests/001.phpt

index a5b01e5e7b34ae1194545124a4d0f054afb6305b..300c6968696c44a17b7b823224cd2f1c7afc9400 100644 (file)
@@ -106,7 +106,7 @@ Node Content:
 
 Node Name: #comment
 Node Type: 8
-Num Children: 1
+Num Children: 0
 Node Content:  lsfj  
 
 Node Name: chapter
@@ -126,7 +126,7 @@ Node Content: Title
 
 Node Name: #text
 Node Type: 3
-Num Children: 1
+Num Children: 0
 Node Content: 
 
 
@@ -136,14 +136,14 @@ Num Children: 7
 
 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 Content: Title
 
 Node Name: #text
 Node Type: 3
-Num Children: 1
+Num Children: 0
 Node Content: 
 
 
@@ -170,7 +170,7 @@ Num Children: 7
 
 Node Name: #text
 Node Type: 3
-Num Children: 1
+Num Children: 0
 Node Content: 
 
 
@@ -193,7 +193,7 @@ Node Content: en
 --------- 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 Content: Title
 
 Node Name: #text
 Node Type: 3
-Num Children: 1
+Num Children: 0
 Node Content: 
 
 
@@ -259,7 +259,7 @@ Num Children: 7
 
 Node Name: #text
 Node Type: 3
-Num Children: 1
+Num Children: 0
 Node Content: