cvs: php-src /ext/dom documenttype.c
| From: | Rob Richards | Date: | Wed, 03 Dec 2003 21:27:02 +0000 |
| Subject: | cvs: php-src /ext/dom documenttype.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24876@lists.php.net to get a copy of this message | ||
rrichards Wed Dec 3 16:27:02 2003 EDT
Modified files:
/php-src/ext/dom documenttype.c
Log:
fix notations - forgot to create iterator
Index: php-src/ext/dom/documenttype.c
diff -u php-src/ext/dom/documenttype.c:1.7 php-src/ext/dom/documenttype.c:1.8
--- php-src/ext/dom/documenttype.c:1.7 Sat Nov 29 15:40:17 2003
+++ php-src/ext/dom/documenttype.c Wed Dec 3 16:27:01 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: documenttype.c,v 1.7 2003/11/29 20:40:17 rrichards Exp $ */
+/* $Id: documenttype.c,v 1.8 2003/12/03 21:27:01 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -100,6 +100,10 @@
dom_object *intern;
doctypep = (xmlDtdPtr) dom_object_get_node(obj);
+
+ MAKE_STD_ZVAL(*retval);
+ php_dom_create_interator(*retval, DOM_NAMEDNODEMAP TSRMLS_CC);
+
notationht = (xmlHashTable *) doctypep->notations;
intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC);