helly Sat Oct 25 21:03:21 2003 EDT
Modified files:
/php-src/ext/simplexml/tests bug25756.phpt
Log:
Fix tests
Index: php-src/ext/simplexml/tests/bug25756.phpt
diff -u php-src/ext/simplexml/tests/bug25756.phpt:1.1
php-src/ext/simplexml/tests/bug25756.phpt:1.2
--- php-src/ext/simplexml/tests/bug25756.phpt:1.1 Sun Oct 5 21:02:28 2003
+++ php-src/ext/simplexml/tests/bug25756.phpt Sat Oct 25 21:03:21 2003
@@ -17,20 +17,20 @@
var_dump($s->validate_schema_file($valid_schema_file));
?>
--EXPECTF--
-object(simplexml_element)#1 (1) {
+object(simplexml_element)#%d (1) {
["items"]=>
- object(simplexml_element)#2 (1) {
+ object(simplexml_element)#%d (1) {
["item"]=>
array(2) {
[0]=>
- object(simplexml_element)#3 (2) {
+ object(simplexml_element)#%d (2) {
["product-name"]=>
string(3) "abc"
["quantity"]=>
string(3) "123"
}
[1]=>
- object(simplexml_element)#4 (2) {
+ object(simplexml_element)#%d (2) {
["product-name"]=>
string(3) "def"
["quantity"]=>
@@ -43,20 +43,20 @@
Warning: Unknown: Malformed XML Schema in %s on line %d
bool(false)
-object(simplexml_element)#5 (1) {
+object(simplexml_element)#%d (1) {
["items"]=>
- object(simplexml_element)#1 (1) {
+ object(simplexml_element)#%d (1) {
["item"]=>
array(2) {
[0]=>
- object(simplexml_element)#6 (2) {
+ object(simplexml_element)#%d (2) {
["product-name"]=>
string(3) "abc"
["quantity"]=>
string(3) "abc"
}
[1]=>
- object(simplexml_element)#7 (2) {
+ object(simplexml_element)#%d (2) {
["product-name"]=>
string(3) "abc"
["quantity"]=>
@@ -65,4 +65,4 @@
}
}
}
-bool(false)
+bool(true)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php