cvs: php-src /ext/simplexml simplexml.c
| From: | Rasmus Lerdorf | Date: | Sat, 05 Nov 2005 22:41:11 +0000 |
| Subject: | cvs: php-src /ext/simplexml simplexml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-35020@lists.php.net to get a copy of this message | ||
rasmus Sat Nov 5 17:41:11 2005 EDT
Modified files:
/php-src/ext/simplexml simplexml.c
Log:
MFB - This isn't a DOM thing anymore, just libxml
http://cvs.php.net/diff.php/php-src/ext/simplexml/simplexml.c?r1=1.175&r2=1.176&ty=u
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.175 php-src/ext/simplexml/simplexml.c:1.176
--- php-src/ext/simplexml/simplexml.c:1.175 Tue Nov 1 18:21:28 2005
+++ php-src/ext/simplexml/simplexml.c Sat Nov 5 17:41:09 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: simplexml.c,v 1.175 2005/11/01 23:21:28 rrichards Exp $ */
+/* $Id: simplexml.c,v 1.176 2005/11/05 22:41:09 rasmus Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1189,6 +1189,7 @@
}
}
}
+/* }}} */
/* {{{ proto string SimpleXMLElement::getDocNamespaces([bool recursive])
Return all namespaces registered with document */
@@ -1865,7 +1866,6 @@
return php_sxe_get_first_node(sxe, node TSRMLS_CC);
}
-#ifdef HAVE_DOM
/* {{{ proto simplemxml_element simplexml_import_dom(domNode node [, string class_name])
Get a simplexml_element object from dom to allow for processing */
PHP_FUNCTION(simplexml_import_dom)
@@ -1918,14 +1918,11 @@
}
}
/* }}} */
-#endif
function_entry simplexml_functions[] = {
PHP_FE(simplexml_load_file, NULL)
PHP_FE(simplexml_load_string, NULL)
-#ifdef HAVE_DOM
PHP_FE(simplexml_import_dom, NULL)
-#endif
{NULL, NULL, NULL}
};
@@ -2015,7 +2012,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.175 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.176 $");
php_info_print_table_row(2, "Schema support",
#ifdef LIBXML_SCHEMAS_ENABLED
"enabled");